2024.03.06 01:30:09.262521 [ 626 ] {} Context: Server was built in debug mode. It will work slowly. 2024.03.06 01:30:09.262832 [ 626 ] {} Context: Server logging level is set to 'test' and performance is degraded. This cannot be used in production. 2024.03.06 01:30:09.265023 [ 626 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.03.06 01:30:11.570455 [ 626 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.03.06 01:30:11.571052 [ 626 ] {} KeeperLogStore: Removing all changelogs 2024.03.06 01:30:11.572277 [ 626 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.03.06 01:30:11.575611 [ 626 ] {} KeeperStateManager: No state was read 2024.03.06 01:30:11.575692 [ 626 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.03.06 01:30:11.575760 [ 626 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.03.06 01:30:11.626972 [ 841 ] {} RaftInstance: Election timeout, initiate leader election 2024.03.06 01:30:11.694404 [ 626 ] {} Access(local directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.03.06 01:30:11.694553 [ 626 ] {} Access(local directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.03.06 01:30:11.889493 [ 626 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.03.06 01:30:16.935849 [ 633 ] {52c3e23b-a0c0-40e6-b178-3f6df7a8d70b} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress Gorilla-encoded data. File has wrong header. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a1c0d3e in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecGorilla.cpp:429: DB::CompressionCodecGorilla::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x29922ed2 in /usr/bin/clickhouse 7. /build/src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x2992f69a in /usr/bin/clickhouse 8. /build/src/Compression/CompressedReadBufferBase.cpp:299: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x298e2da7 in /usr/bin/clickhouse 9. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x298e11ba in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.cpp:25: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x2955152f in /usr/bin/clickhouse 12. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:100: DB::ConcatReadBuffer::nextImpl() @ 0x29ebfd86 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:86: DB::ReadBuffer::nextIfAtEnd() @ 0x22293858 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1201: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dce9f in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:17.354329 [ 632 ] {432599dc-7413-46df-9528-21a7537f3125} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_t88fhrm2.t_projections_lwd. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49066) (comment: 02792_drop_projection_lwd.sql) (in query: -- LWD does not work, as expected DELETE FROM t_projections_lwd WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:17.355291 [ 632 ] {432599dc-7413-46df-9528-21a7537f3125} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_t88fhrm2.t_projections_lwd. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:19.998150 [ 633 ] {6584d0a2-7278-4e44-ac88-4ae927737dbd} executeQuery: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49170) (comment: 02688_long_aggregate_function_names.sql) (in query: SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19eaa8b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:269: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x2913b409 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:198: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2c5cc4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x2b2c5c41 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2c5a40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c6361 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2c6406 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c636e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2c6406 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c636e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2bc905 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1416: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b9038 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:30:20.001149 [ 633 ] {6584d0a2-7278-4e44-ac88-4ae927737dbd} TCPHandler: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19eaa8b3 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:269: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x2913b409 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:198: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b2c5cc4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x2b2c5c41 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2c5a40 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c6361 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2c6406 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c636e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2c6406 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2c636e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2c59ca in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2bc905 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1416: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b9038 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:30:20.667349 [ 1122 ] {92ef6f90-98d5-4f7d-8ad1-2baa75048ddc} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:286: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x2c9b265e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:620: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x2c9adf1f in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:795: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9b38ee in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:20.675065 [ 632 ] {92ef6f90-98d5-4f7d-8ad1-2baa75048ddc} executeQuery: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49174) (comment: 02686_bson3.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format(BSONEachRow, 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnablsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&QAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDFӓ2qJavaEnableTitleGoodEventEventTimen$QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeǘQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePagePamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDl!|@HJavaEnableTitleGoodEventEventTime)QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime}QAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID^WatchIDǐ=ЌWJavaEnableTitleGoodEventEventTime8*QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeݞQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLIDWatchIDE&LyJavaEnableTitleGoodEventEventTimeJQEventDate>CounterIDClientIPI`RegionID'UserIDqJd8CounterClassOSUserAgentURL-http://holodilnik.ru/russia/05jul2013&model=0RefererIsRefreshRefererCategoryIDRefererRegionIDURLCateParams String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32,HistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash oeCLIDWatchIDk=pJavaEnableTitleGoodEventEventTime QEventDate>CounterIDClienQ9HRegionIDGUserID Ks}CounterClassOSUserAgentURLHhttp://afisha.mail.ru/catalog/314/women.ru/ency=1&page3/?errovat-pinnikiRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryID0=URLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4 PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqID:WmOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeAQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash #\CLIDWatchID1 oCJavaEnableTitleGoodEventEventTime0QEventDate>CounterIDClientIP^{]RegionIDUserID&n%t"6CounterClassOS'UserAgentURL>http://bonprix.ru/index.ru/cinema/art/0 986 424 233 сезонRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeQAgeSexIncomeInterestsRobotnessRemoteIPUWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashX-hX CLIDWatchID»-C_JavaEnableTitleGoodEventEventTime83QEventDate>CounterIDClientIP^{]RegionIDUserID&n%t"6CounterClassOS'UserAgentURL:http://bonprix.ru/index.ru/cinema/art/A00387,3797); ru)&bLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime QAgeSexIncomeInterestsRobotnessRemoteIPUWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashvvCLIDWatchID\JavaEnableTitleGoodEventEventTime QEventDate>CounterIDClientIPgURegionIDUserIDsyyfCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDesRolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkIDTraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeYQAgeSexIncomeInterestsRobotnessRemoteIP=kWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHashh9DCLID^WatchID/EJ{JavaEnableTitleGoodEventEventTime1QEventDate>CounterIDClientIPzRegionIDGUserID :6CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhkneModelParamsIPNetworkID9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneClientEventTimeSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeQAgeSexIncomeInterestsRobotnessRemoteIP^DIWindowNameOpenerNameHistoryLengthBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+'URLHash|3b.CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:286: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x2c9b265e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:620: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x2c9adf1f in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:795: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9b38ee in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 01:30:20.676920 [ 632 ] {92ef6f90-98d5-4f7d-8ad1-2baa75048ddc} TCPHandler: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:286: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x2c9b265e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:620: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x2c9adf1f in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:795: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9b38ee in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 01:30:20.974482 [ 632 ] {e365ab1f-f188-42c8-830e-88ac3ecde21f} executeQuery: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49190) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x2c9ba727 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:780: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9b3744 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c8e2741 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d9b3b7 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b655 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:30:20.978614 [ 632 ] {e365ab1f-f188-42c8-830e-88ac3ecde21f} TCPHandler: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x2c9ba727 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:780: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9b3744 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c8e2741 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:79: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x28d9b3b7 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:93: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b655 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:30:22.231293 [ 1013 ] {3bc06712-2dcb-4c65-90b9-5d3f6e706cab} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36572) (comment: 02679_query_parameters_dangling_pointer.sql) (in query: CREATE TABLE test.xxx (`a` Int64) ENGINE = MergeTree ORDER BY _CAST('a', 'String') SETTINGS index_granularity = 38551, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.8092072606086731, merge_max_block_size = 19516, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10252133599, index_granularity_bytes = 14386164), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:434: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144d1d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:30:22.233860 [ 1013 ] {3bc06712-2dcb-4c65-90b9-5d3f6e706cab} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:434: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144d1d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:30:23.681465 [ 632 ] {43a841b5-71ff-4ae3-b24a-024b48e8e687} executeQuery: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36598) (comment: 02677_analyzer_compound_expressions.sql) (in query: WITH [1, 2, 3] AS arr SELECT arr.*;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x19f79124 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3706: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1f3eb in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3995: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1d3f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:23.682600 [ 632 ] {43a841b5-71ff-4ae3-b24a-024b48e8e687} TCPHandler: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x19f79124 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3706: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1f3eb in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3995: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1d3f4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:23.823375 [ 632 ] {cc5044c6-7ab3-497c-a15d-8d1543e5bbfc} executeQuery: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36598) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], materialize('size0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x1cbd88a8 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cbd8779 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05e94 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:23.824737 [ 632 ] {cc5044c6-7ab3-497c-a15d-8d1543e5bbfc} TCPHandler: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x1cbd88a8 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cbd8779 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05e94 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:23.956740 [ 632 ] {07b396e3-7e8c-4805-9789-d9e0d79f583b} executeQuery: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36598) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], 'aaa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x1c99c48c in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x29ace87a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x29acd166 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cbd87b2 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05e94 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:30:23.957897 [ 632 ] {07b396e3-7e8c-4805-9789-d9e0d79f583b} TCPHandler: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x1c99c48c in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x29ace87a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x29acd166 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x1cbd87b2 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5131: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05e94 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:30:25.590620 [ 632 ] {7092527c-4025-4e5c-a23a-6c46b6cacc0e} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G Y');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.592567 [ 632 ] {7092527c-4025-4e5c-a23a-6c46b6cacc0e} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.716938 [ 632 ] {804a7c28-c1dc-4d18-9c63-2f67e22fe243} executeQuery: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:25.718614 [ 632 ] {804a7c28-c1dc-4d18-9c63-2f67e22fe243} TCPHandler: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:25.729398 [ 632 ] {39040bfe-903d-4c3f-b036-085bcb621817} executeQuery: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YYY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.730842 [ 632 ] {39040bfe-903d-4c3f-b036-085bcb621817} TCPHandler: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.809437 [ 632 ] {8daa504a-90d0-497c-a0a7-a92addd1002b} executeQuery: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('BC', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201fd916 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f95a7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.810866 [ 632 ] {8daa504a-90d0-497c-a0a7-a92addd1002b} TCPHandler: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201fd916 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f95a7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.889855 [ 632 ] {75cebd8a-0295-4303-a6f6-e1f81dfe055a} executeQuery: Code: 41. DB::Exception: Unknown era ab: While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AB', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:155: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201fd9c4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f95a7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.891353 [ 632 ] {75cebd8a-0295-4303-a6f6-e1f81dfe055a} TCPHandler: Code: 41. DB::Exception: Unknown era ab: While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:155: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x201fd9c4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1198: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f95a7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.941408 [ 632 ] {7393a186-5dcd-45db-99b1-d983471f61fe} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.943079 [ 632 ] {7393a186-5dcd-45db-99b1-d983471f61fe} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.953903 [ 632 ] {a721ea56-30d1-4883-9389-20ab7938a9a8} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:25.955449 [ 632 ] {a721ea56-30d1-4883-9389-20ab7938a9a8} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.039564 [ 632 ] {2f9b2999-6feb-4ff4-8f04-4c71cab2b6a7} executeQuery: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1214: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9851 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.041066 [ 632 ] {2f9b2999-6feb-4ff4-8f04-4c71cab2b6a7} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1214: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9851 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.138644 [ 632 ] {eac4bcc8-ca0e-4a2f-beeb-1690d0712c37} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1', 'YY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.140070 [ 632 ] {eac4bcc8-ca0e-4a2f-beeb-1690d0712c37} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1216: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9868 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.452554 [ 632 ] {a9d7d027-ffa0-48bb-b0b8-d5247a2b35ff} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa167 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.453955 [ 632 ] {a9d7d027-ffa0-48bb-b0b8-d5247a2b35ff} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa167 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.463474 [ 632 ] {0d4627d4-2861-4520-a50d-571667fb9ff9} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa167 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.464933 [ 632 ] {0d4627d4-2861-4520-a50d-571667fb9ff9} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1280: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa167 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.714656 [ 1115 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.03.06 01:30:26.828510 [ 632 ] {132be262-2071-41ea-ad9e-c6eeb12ab5a7} executeQuery: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:445: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7631 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:26.829613 [ 632 ] {132be262-2071-41ea-ad9e-c6eeb12ab5a7} TCPHandler: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:445: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7631 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:26.906351 [ 632 ] {fd137c07-1134-4fd1-8b9f-765db444f39c} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f996a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.907845 [ 632 ] {fd137c07-1134-4fd1-8b9f-765db444f39c} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f996a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.918274 [ 632 ] {915d22e0-6c71-4615-a3d5-7963ac15b83d} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f996a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:26.920000 [ 632 ] {915d22e0-6c71-4615-a3d5-7963ac15b83d} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x2021a508 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:170: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x201de26b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1224: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f996a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.081189 [ 632 ] {c5f39c2e-6f45-4c14-9fc6-71f4d4f89061} executeQuery: Code: 41. DB::Exception: Invalid date, year:1900 month:1 day:1: While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('19', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.082354 [ 632 ] {c5f39c2e-6f45-4c14-9fc6-71f4d4f89061} TCPHandler: Code: 41. DB::Exception: Invalid date, year:1900 month:1 day:1: While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.162303 [ 632 ] {755348fb-12df-4dca-bc7c-f4eff3a456d8} executeQuery: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('22', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:161: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x201dd987 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1208: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9760 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.163885 [ 632 ] {755348fb-12df-4dca-bc7c-f4eff3a456d8} TCPHandler: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:161: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x201dd987 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1208: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9760 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.320310 [ 632 ] {70681c38-426f-4d46-8f15-e7565d0ff01e} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x201dd2e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa300 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.321829 [ 632 ] {70681c38-426f-4d46-8f15-e7565d0ff01e} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x201dd2e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa300 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.334165 [ 632 ] {41f0907b-3214-4646-8801-9a1d93987c92} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('13', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x201dd2e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa300 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.336002 [ 632 ] {41f0907b-3214-4646-8801-9a1d93987c92} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:197: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x201dd2e7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1296: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa300 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.346713 [ 632 ] {9983c836-2a2e-4d07-a1bf-72c253a12c0b} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.348475 [ 632 ] {9983c836-2a2e-4d07-a1bf-72c253a12c0b} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.466139 [ 632 ] {036c3644-3d11-40bd-87e3-4a595dad1460} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid month names select parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.467802 [ 632 ] {036c3644-3d11-40bd-87e3-4a595dad1460} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.478398 [ 632 ] {72da5dfe-b476-46cf-bb74-288c130b96e7} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.480067 [ 632 ] {72da5dfe-b476-46cf-bb74-288c130b96e7} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.491031 [ 632 ] {7100fd64-fa8f-4a77-8ce1-2d83d686f56e} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.492755 [ 632 ] {7100fd64-fa8f-4a77-8ce1-2d83d686f56e} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.503368 [ 632 ] {de33c207-d0a2-4bb9-bcfc-fe8d8beb4a33} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.505315 [ 632 ] {de33c207-d0a2-4bb9-bcfc-fe8d8beb4a33} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.623602 [ 632 ] {f0ed9d3f-f958-4281-9a0c-822b8c237e91} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x202182c8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa588 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:30:27.625106 [ 632 ] {f0ed9d3f-f958-4281-9a0c-822b8c237e91} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x202182c8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa588 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:30:27.635411 [ 632 ] {767a9878-405b-4ad5-afb1-497027fcee45} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x202182c8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa588 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:30:27.636706 [ 632 ] {767a9878-405b-4ad5-afb1-497027fcee45} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x202182c8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1306: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa588 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd568 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd4fd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fd461 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fd41a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd3b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd375 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd335 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fd2bd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:30:27.773027 [ 632 ] {d9e23f56-7398-42fa-bade-1759eb88f688} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201ddcc7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa90c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.774462 [ 632 ] {d9e23f56-7398-42fa-bade-1759eb88f688} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201ddcc7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa90c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.784466 [ 632 ] {8d8f07bb-3478-4fc7-baa8-d30dd190325b} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('32', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201ddcc7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa90c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.785771 [ 632 ] {8d8f07bb-3478-4fc7-baa8-d30dd190325b} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:242: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x201ddcc7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1335: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa90c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:27.795114 [ 632 ] {2c738228-dd93-459e-9cdf-e0adf0aa565f} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.796493 [ 632 ] {2c738228-dd93-459e-9cdf-e0adf0aa565f} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:27.805656 [ 632 ] {9675a3a4-db5e-4a7e-a85d-fb1a6bfefb9d} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.806690 [ 632 ] {9675a3a4-db5e-4a7e-a85d-fb1a6bfefb9d} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:2 day:31: While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.815858 [ 632 ] {e9ca75a6-a6e8-4b62-b79b-9b58c0a21c7d} executeQuery: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.816947 [ 632 ] {e9ca75a6-a6e8-4b62-b79b-9b58c0a21c7d} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2000 month:4 day:31: While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.892777 [ 632 ] {a66f3935-96d7-4c68-b881-61cbfb867e57} executeQuery: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:27.893897 [ 632 ] {a66f3935-96d7-4c68-b881-61cbfb867e57} TCPHandler: Code: 41. DB::Exception: Invalid date, year:2001 month:2 day:29: While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x2021cb68 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:413: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x201e0687 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:433: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d757d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:28.235426 [ 632 ] {d79e4d15-7f10-4657-a538-32bab2e31d91} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:1999 day of year:366: While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x2021c78c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201e0583 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7564 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:28.236672 [ 632 ] {d79e4d15-7f10-4657-a538-32bab2e31d91} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:1999 day of year:366: While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x2021c78c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201e0583 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7564 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:28.260828 [ 632 ] {5e276d7e-94aa-42e6-a962-e08780ec2b64} executeQuery: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x2021c78c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201e0583 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7564 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:28.261807 [ 632 ] {5e276d7e-94aa-42e6-a962-e08780ec2b64} TCPHandler: Code: 41. DB::Exception: Invalid day of year, year:2001 day of year:366: While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x2021c78c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:403: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x201e0583 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x201d7564 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:592: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6dfa in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:28.338505 [ 632 ] {d83c2494-f8fd-4ce3-9fa7-0f2f30c4b4d8} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201deeaa in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.339914 [ 632 ] {d83c2494-f8fd-4ce3-9fa7-0f2f30c4b4d8} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201deeaa in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.349839 [ 632 ] {6ed3c5c3-487b-43a4-8f16-a9a3ab47077a} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('367', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201deeaa in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.351139 [ 632 ] {6ed3c5c3-487b-43a4-8f16-a9a3ab47077a} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:227: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x201deeaa in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1288: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fa20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.485561 [ 632 ] {47a18e9f-4b82-41a9-b2b7-40a114ac24aa} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid hour od day select parseDateTimeInJodaSyntax('24', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1370: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fad50 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.487101 [ 632 ] {47a18e9f-4b82-41a9-b2b7-40a114ac24aa} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1370: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fad50 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.567831 [ 632 ] {2ea26a92-92f8-4776-add2-6137a506d9b2} executeQuery: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1368: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fad3c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.569511 [ 632 ] {2ea26a92-92f8-4776-add2-6137a506d9b2} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1368: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fad3c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.579187 [ 632 ] {ed25ffb1-2b36-4fac-8418-c47a7913ef30} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:28.580610 [ 632 ] {ed25ffb1-2b36-4fac-8418-c47a7913ef30} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:28.736315 [ 632 ] {c0585c0e-42bc-475c-94e5-71ccd0ad86a3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of day select parseDateTimeInJodaSyntax('25', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fadf3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.738003 [ 632 ] {c0585c0e-42bc-475c-94e5-71ccd0ad86a3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fadf3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.747902 [ 632 ] {6eef4342-7fe1-43de-8c44-8be76ec61e5b} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fadf3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.749486 [ 632 ] {6eef4342-7fe1-43de-8c44-8be76ec61e5b} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1378: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fadf3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.758415 [ 632 ] {feac4481-6868-4bbe-90b0-2f5f53ed19d4} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:28.759922 [ 632 ] {feac4481-6868-4bbe-90b0-2f5f53ed19d4} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:28.903634 [ 632 ] {165599ba-86f0-4235-a157-cb3b7871ce26} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid hour of half day select parseDateTimeInJodaSyntax('12', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.905451 [ 632 ] {165599ba-86f0-4235-a157-cb3b7871ce26} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.984179 [ 632 ] {59244e14-a1ca-413d-bd66-d22476b6bfc2} executeQuery: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1352: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab7c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.985933 [ 632 ] {59244e14-a1ca-413d-bd66-d22476b6bfc2} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1352: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab7c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.994721 [ 632 ] {deebabe5-4831-4b39-ad85-b7b5eb14c17e} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:28.996060 [ 632 ] {deebabe5-4831-4b39-ad85-b7b5eb14c17e} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fab93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.153917 [ 632 ] {a9f1772a-a16c-435b-bfb7-9cad70f9be00} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of half day select parseDateTimeInJodaSyntax('13', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201facb3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.155343 [ 632 ] {a9f1772a-a16c-435b-bfb7-9cad70f9be00} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201facb3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.164583 [ 632 ] {6379b2e0-ac48-4677-af67-dd34c851dbe0} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201facb3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.166188 [ 632 ] {6379b2e0-ac48-4677-af67-dd34c851dbe0} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x2021b39a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:309: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x201dff86 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1362: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201facb3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.175139 [ 632 ] {e6403faf-e0c0-4969-9ee3-a58aac99ad2e} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:29.176723 [ 632 ] {e6403faf-e0c0-4969-9ee3-a58aac99ad2e} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:29.759922 [ 632 ] {6e2d044c-afa8-4bc6-90fc-ec7a82a86d83} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:326: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x201dfa47 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1386: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fae8c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.761509 [ 632 ] {6e2d044c-afa8-4bc6-90fc-ec7a82a86d83} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:326: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x201dfa47 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1386: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fae8c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.839237 [ 632 ] {0c4fa7fc-045c-41bf-a306-da78a3ec6611} executeQuery: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1384: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fae7c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.840922 [ 632 ] {0c4fa7fc-045c-41bf-a306-da78a3ec6611} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1384: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fae7c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.849647 [ 632 ] {2bbf6257-86af-4da9-8488-86f274cdb5c1} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:29.850971 [ 632 ] {2bbf6257-86af-4da9-8488-86f274cdb5c1} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:29.979081 [ 632 ] {5ed95215-69f2-4dfa-ac96-96f6ca2fb656} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:334: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x201e0087 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1394: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201faf2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:29.980726 [ 632 ] {5ed95215-69f2-4dfa-ac96-96f6ca2fb656} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x20219993 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:334: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x201e0087 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1394: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201faf2c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:30.065222 [ 632 ] {a8fdadf2-f1f1-4456-9feb-fbe613cf0e57} executeQuery: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1392: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201faf1c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:30.066801 [ 632 ] {a8fdadf2-f1f1-4456-9feb-fbe613cf0e57} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1173: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe7c8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1392: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201faf1c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:30.075559 [ 632 ] {87263fcc-c62a-4c2a-9c05-a15438b2cdf3} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:30.077012 [ 632 ] {87263fcc-c62a-4c2a-9c05-a15438b2cdf3} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x20217fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:587: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6d75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:30:30.156720 [ 632 ] {a618a25e-4ddd-4e9b-819f-70a887c10191} executeQuery: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36646) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- integer overflow in AST Fuzzer select parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1122: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe437 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1206: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9750 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:30.158312 [ 632 ] {a618a25e-4ddd-4e9b-819f-70a887c10191} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x2021d10c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1122: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x201fe437 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1206: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201f9750 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe146 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fe0dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x201fe041 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x201fdffa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf55 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdf15 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x201fdebd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x202008dc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x20200875 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:659: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x201f7dd7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:555: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x201f6ba9 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:30:31.512309 [ 1010 ] {e5516ded-95a1-4b4e-863f-4b19962f6a62} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36734) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02661_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [30]) @ 0x19f7bebe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:830: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2bf8207a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2a3d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:31.513459 [ 1010 ] {e5516ded-95a1-4b4e-863f-4b19962f6a62} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [30]) @ 0x19f7bebe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:830: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2bf8207a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2a3d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:33.598408 [ 1010 ] {ecb5c426-2396-4f15-a059-35a6d0c05558} executeQuery: Code: 60. DB::Exception: The drop task of table test_e221yg9z.`02681_undrop_uuid` (bf698b2c-66f4-4c35-b555-27746cc63ff3) is in progress, has been dropped or the database engine doesn't support it. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40544) (comment: 02681_undrop_query_uuid.sh) (in query: undrop table 02681_undrop_uuid UUID 'bf698b2c-66f4-4c35-b555-27746cc63ff3' settings allow_experimental_undrop_table_query = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:993: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x2a00be56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:68: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x2af2de7f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:41: DB::InterpreterUndropQuery::execute() @ 0x2af2d824 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:33.600291 [ 1010 ] {ecb5c426-2396-4f15-a059-35a6d0c05558} TCPHandler: Code: 60. DB::Exception: The drop task of table test_e221yg9z.`02681_undrop_uuid` (bf698b2c-66f4-4c35-b555-27746cc63ff3) is in progress, has been dropped or the database engine doesn't support it. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:993: DB::DatabaseCatalog::dequeueDroppedTableCleanup(DB::StorageID) @ 0x2a00be56 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterUndropQuery.cpp:68: DB::InterpreterUndropQuery::executeToTable(DB::ASTUndropQuery&) @ 0x2af2de7f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterUndropQuery.cpp:41: DB::InterpreterUndropQuery::execute() @ 0x2af2d824 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:35.293316 [ 1779 ] {dbacff96-5cec-4dfe-b7be-68e6fbb35c97} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: -- test that the check which rejects hyperscan regexes with too big bounded repeats works -- {n} SELECT multiMatchAny('test', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.294670 [ 1779 ] {dbacff96-5cec-4dfe-b7be-68e6fbb35c97} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.303983 [ 1779 ] {63392daa-9f6c-4212-a2c7-b98d75c6788c} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.305432 [ 1779 ] {63392daa-9f6c-4212-a2c7-b98d75c6788c} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.314418 [ 1779 ] {b2387602-7190-446a-8150-5b91c57ec862} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.315778 [ 1779 ] {b2387602-7190-446a-8150-5b91c57ec862} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.324173 [ 1779 ] {1077d25e-df34-4972-a9e3-523f2bfa4fd5} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.325747 [ 1779 ] {1077d25e-df34-4972-a9e3-523f2bfa4fd5} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.471235 [ 1779 ] {1d3e44fe-1722-4ce3-8f46-96177e6cdd40} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.471266 [ 1455 ] {3c6bc4a4-a56f-4477-926c-9f2b8b823616} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Float64. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: -- Bad arguments select a, b, ntile(3.0) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.472825 [ 1779 ] {1d3e44fe-1722-4ce3-8f46-96177e6cdd40} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.473039 [ 1455 ] {3c6bc4a4-a56f-4477-926c-9f2b8b823616} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.482945 [ 1779 ] {c0c2ab77-7fd2-40a7-96a0-21e780c173d8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.484519 [ 1779 ] {c0c2ab77-7fd2-40a7-96a0-21e780c173d8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.491001 [ 1455 ] {da88a5ea-0a6b-46a4-8a08-995e54280485} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got String. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile('2') over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.492688 [ 1455 ] {da88a5ea-0a6b-46a4-8a08-995e54280485} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got String. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.493427 [ 1779 ] {37d96005-7dc7-4f7d-bd8e-30b0da248895} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,} SELECT multiMatchAny('test', ['.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.494652 [ 1779 ] {37d96005-7dc7-4f7d-bd8e-30b0da248895} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.503791 [ 1779 ] {85022c28-3013-4138-bc1d-dcff32c6dcda} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.505113 [ 1779 ] {85022c28-3013-4138-bc1d-dcff32c6dcda} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.514755 [ 1779 ] {4e047b90-a4d3-4066-9cf6-4e2efd4bc988} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.516364 [ 1779 ] {4e047b90-a4d3-4066-9cf6-4e2efd4bc988} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.526459 [ 1779 ] {d819d374-c426-4ebe-a1aa-3f75fe758471} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.653333 [ 1455 ] {7bc800b2-8f14-42c9-87f9-5d74bc0b2ca2} executeQuery: Code: 36. DB::Exception: ntile's argument must > 0. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(0) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2015: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef615 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:30:35.653925 [ 1779 ] {d819d374-c426-4ebe-a1aa-3f75fe758471} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.655404 [ 1455 ] {7bc800b2-8f14-42c9-87f9-5d74bc0b2ca2} TCPHandler: Code: 36. DB::Exception: ntile's argument must > 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2015: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef615 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:30:35.667082 [ 1779 ] {cb1cf164-6383-48a6-92ff-36cd6994a174} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.668897 [ 1779 ] {cb1cf164-6383-48a6-92ff-36cd6994a174} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.674467 [ 1455 ] {a6956386-be26-4887-8005-ea160ad44b54} executeQuery: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Int8. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(-2) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.675920 [ 1455 ] {a6956386-be26-4887-8005-ea160ad44b54} TCPHandler: Code: 36. DB::Exception: ntile's argument type must be an unsigned integer (not larger then 64-bit), but got Int8. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1986: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdef143 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeee34 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdeebf1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee8d7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee74a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2cdee6d6 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2484: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2cde0d6d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0d18 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2cde0c35 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2cde0bdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:872: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf602 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:30:35.679760 [ 1779 ] {87a2a51e-733e-48d2-8c9a-9ed98f125b35} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.681231 [ 1779 ] {87a2a51e-733e-48d2-8c9a-9ed98f125b35} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.693506 [ 1779 ] {7806c3a4-0257-49ec-8456-e0912b6227d2} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.695258 [ 1779 ] {7806c3a4-0257-49ec-8456-e0912b6227d2} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.706124 [ 1779 ] {5b6c1051-700b-4c74-b9a9-f2a82deb6ad0} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,m} SELECT multiMatchAny('test', ['.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.707493 [ 1779 ] {5b6c1051-700b-4c74-b9a9-f2a82deb6ad0} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.858377 [ 1455 ] {e04083f1-e4d9-4c6e-b207-a0c321d63298} executeQuery: Code: 36. DB::Exception: ntile's argument must be a constant. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(b + 1) over (partition by a order by b rows between unbounded preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2002: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef33a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:30:35.858675 [ 1779 ] {9690a118-424f-4add-a4cc-7bf46e79db62} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.860618 [ 1455 ] {e04083f1-e4d9-4c6e-b207-a0c321d63298} TCPHandler: Code: 36. DB::Exception: ntile's argument must be a constant. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2002: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef33a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:30:35.861476 [ 1779 ] {9690a118-424f-4add-a4cc-7bf46e79db62} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.878527 [ 1779 ] {d6397d9b-c70d-44fa-9215-2e3d2b28d68f} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.880518 [ 1779 ] {d6397d9b-c70d-44fa-9215-2e3d2b28d68f} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.893422 [ 1779 ] {df257ba4-d811-463c-803d-86e357573d7d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:35.895098 [ 1779 ] {df257ba4-d811-463c-803d-86e357573d7d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.036428 [ 1455 ] {9267e3e7-8573-4765-9775-db3eb3c1f453} executeQuery: Code: 36. DB::Exception: ntile's window frame must have order by clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: -- Bad window type select a, b, ntile(2) over (partition by a) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2093: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefaf6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.038631 [ 1455 ] {9267e3e7-8573-4765-9775-db3eb3c1f453} TCPHandler: Code: 36. DB::Exception: ntile's window frame must have order by clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2093: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefaf6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.048156 [ 1779 ] {3845bde6-0da1-47d1-b5da-c1c18e095b15} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, 52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.049462 [ 1779 ] {3845bde6-0da1-47d1-b5da-c1c18e095b15} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.058702 [ 1779 ] {9aa0d52b-3bbb-42d6-8032-ed4f83f37e9d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.059962 [ 1779 ] {9aa0d52b-3bbb-42d6-8032-ed4f83f37e9d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.071016 [ 1779 ] {15419584-6b74-42e0-8597-c2346b4dcb20} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.072442 [ 1779 ] {15419584-6b74-42e0-8597-c2346b4dcb20} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.210030 [ 1455 ] {2dd094ad-b5a6-4c27-849d-f4e2771d6e16} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.212120 [ 1455 ] {2dd094ad-b5a6-4c27-849d-f4e2771d6e16} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.223327 [ 1779 ] {c3b7989e-0132-4f61-a342-575341ed2d30} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{1,51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.225790 [ 1779 ] {c3b7989e-0132-4f61-a342-575341ed2d30} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.238203 [ 1779 ] {d9f666f6-ed6d-4df4-8e68-24de757e1b80} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.239951 [ 1779 ] {d9f666f6-ed6d-4df4-8e68-24de757e1b80} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.394716 [ 1455 ] {4a69d7d5-b291-4450-8e28-3e6e35ad531e} executeQuery: Code: 36. DB::Exception: ntile's frame end type must be UNBOUNDED FOLLOWING. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between unbounded preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x1973f97e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2108: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefc46 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.394803 [ 1779 ] {143b41c9-8160-4a49-9a69-882f4d396175} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.396721 [ 1455 ] {4a69d7d5-b291-4450-8e28-3e6e35ad531e} TCPHandler: Code: 36. DB::Exception: ntile's frame end type must be UNBOUNDED FOLLOWING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x1973f97e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2108: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefc46 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.396684 [ 1779 ] {143b41c9-8160-4a49-9a69-882f4d396175} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c89de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7c01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7577 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.549360 [ 1779 ] {8c9a93a1-26b3-4222-8f26-60e94813a6b3} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c7ed9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7ada in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7428 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:36.549513 [ 1455 ] {a5f812dc-c6d4-4663-87b5-f26898e1253d} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.550491 [ 1779 ] {8c9a93a1-26b3-4222-8f26-60e94813a6b3} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c7ed9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c7ada in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c7428 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:36.551688 [ 1455 ] {a5f812dc-c6d4-4663-87b5-f26898e1253d} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.670643 [ 1779 ] {0e656125-d6ba-4d47-8978-925742229f44} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9cd5c4 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9cc7e1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9cc157 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.670887 [ 1455 ] {0ee2cdda-e651-443b-a57d-3899e17209c2} executeQuery: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between current row and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.672440 [ 1779 ] {0e656125-d6ba-4d47-8978-925742229f44} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9cd5c4 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9cc7e1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9cc157 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:36.673297 [ 1455 ] {0ee2cdda-e651-443b-a57d-3899e17209c2} TCPHandler: Code: 36. DB::Exception: ntile's frame start type must be UNBOUNDED PRECEDING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2100: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefbd6 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.711965 [ 1115 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.03.06 01:30:36.807731 [ 1779 ] {8d60b0eb-1668-4ce6-8c06-16028e429675} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9ccab9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9cc6ba in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9cc008 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:36.956485 [ 1455 ] {ed5ff13c-cfa1-4bc3-ba91-a5c85042f175} executeQuery: Code: 36. DB::Exception: ntile's frame type must be ROWS. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40568) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b range unbounded preceding) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2096: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefb66 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:36.956942 [ 1779 ] {8d60b0eb-1668-4ce6-8c06-16028e429675} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9ccab9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9cc6ba in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9cc008 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:36.959244 [ 1455 ] {ed5ff13c-cfa1-4bc3-ba91-a5c85042f175} TCPHandler: Code: 36. DB::Exception: ntile's frame type must be ROWS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2096: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x2cdefb66 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1998: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x2cdef296 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:968: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda21c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:30:37.106252 [ 1779 ] {93c7257a-9cce-41a2-ac7b-7c9eed88d415} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c3d1e in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c2f01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c2837 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:37.107708 [ 1779 ] {93c7257a-9cce-41a2-ac7b-7c9eed88d415} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c3d1e in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c2f01 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c2837 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:30:37.237265 [ 1779 ] {34c3543a-2008-4f35-b1e9-3053815c2459} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c31d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c2dda in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c26e8 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:37.238812 [ 1779 ] {34c3543a-2008-4f35-b1e9-3053815c2459} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9c31d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x1f9c2dda in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9c26e8 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:30:37.354101 [ 1779 ] {1cb17f3e-6da4-412d-94c5-1b12dfd7ec26} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9addfe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:37.355508 [ 1779 ] {1cb17f3e-6da4-412d-94c5-1b12dfd7ec26} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9addfe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:37.503813 [ 1779 ] {b29382b8-a76a-4b2d-a95a-5eb61a970b29} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9ad399 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac8f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:37.505349 [ 1779 ] {b29382b8-a76a-4b2d-a95a-5eb61a970b29} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9ad399 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac8f5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:37.623249 [ 1779 ] {f316b161-eda1-4240-8361-15194c278130} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9b2e24 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9b1aac in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:37.624740 [ 1779 ] {f316b161-eda1-4240-8361-15194c278130} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9b2e24 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9b1aac in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:37.763709 [ 1779 ] {f216ca73-f768-4d44-9d66-ba093eeb5018} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9b23b9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9b1915 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:37.764917 [ 1779 ] {f216ca73-f768-4d44-9d66-ba093eeb5018} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9b23b9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9b1915 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:37.885959 [ 1779 ] {24034b04-7d7b-4282-93a2-5ebc15ee33f0} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f99eefe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f99daec in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:37.887451 [ 1779 ] {24034b04-7d7b-4282-93a2-5ebc15ee33f0} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f99eefe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f99daec in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:30:38.028833 [ 1779 ] {ea660147-1bf2-4790-84b4-07c0b6821778} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40594) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f99e459 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f99d955 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:38.030112 [ 1779 ] {ea660147-1bf2-4790-84b4-07c0b6821778} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [138]) @ 0x1f99fb9e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f99e459 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f99d955 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:30:39.674758 [ 1013 ] {717631bf-56e2-48f1-a7c9-04902c3acfc3} executeQuery: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40676) (comment: 02552_analyzer_optimize_group_by_function_keys_crash.sql) (in query: SELECT NULL GROUP BY tuple('0.0000000007'), count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) -- { serverError 184 }; ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x2ad6b101 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ad6ac56 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:77: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ad6afe2 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ad6ac73 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x2ad6ae49 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad63bda in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:39.675932 [ 1013 ] {717631bf-56e2-48f1-a7c9-04902c3acfc3} TCPHandler: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x2ad6b101 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ad6ac56 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:77: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2ad6afe2 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2ad6ac73 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x2ad6ae49 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad63bda in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:46.714988 [ 1115 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (3) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.03.06 01:30:46.724051 [ 1115 ] {} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.03.06 01:30:52.846538 [ 1455 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [30]) @ 0x2c84799e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1227: DB::TCPHandler::receiveHello() @ 0x2c836551 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 14. ? @ 0x7f624fd9f609 in ? 15. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:52.848077 [ 1013 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [30]) @ 0x2c84799e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1227: DB::TCPHandler::receiveHello() @ 0x2c836551 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 14. ? @ 0x7f624fd9f609 in ? 15. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:55.426522 [ 1779 ] {cd5adfcb-25a6-4c42-9f49-dd80010c49b4} executeQuery: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39982) (comment: 02521_analyzer_array_join_crash.sql) (in query: SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one ARRAY JOIN [1048577] AS elem, arrayMap(x -> concat(x, elem, ''), ['']) AS unused;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afda in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e48fc6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:396: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b8de0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x291499f1 in /usr/bin/clickhouse 2024.03.06 01:30:55.427940 [ 1779 ] {cd5adfcb-25a6-4c42-9f49-dd80010c49b4} TCPHandler: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afda in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e48fc6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:396: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b8de0d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x291499f1 in /usr/bin/clickhouse 2024.03.06 01:30:55.591595 [ 1455 ] {759a0ac3-c84f-4c2e-8c7c-577ac23584b2} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39984) (comment: 02520_group_array_last.sql) (in query: -- { echo } -- BAD_ARGUMENTS select groupArrayLast(number+1) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22d30812 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:30:55.593104 [ 1455 ] {759a0ac3-c84f-4c2e-8c7c-577ac23584b2} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22d30812 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:30:55.712434 [ 1455 ] {4446bb2d-bb64-4c4c-a309-af72ed59f5c6} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39984) (comment: 02520_group_array_last.sql) (in query: select groupArrayLastArray([number+1]) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22d30812 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913adbe in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:30:55.811531 [ 1779 ] {} Access(user directories): from: ::1, user: MySQL: Authentication failed: Code: 192. DB::Exception: There is no user `MySQL` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:55.889685 [ 1455 ] {4446bb2d-bb64-4c4c-a309-af72ed59f5c6} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:80: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x22d30812 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913adbe in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:30:55.889792 [ 1779 ] {} ServerErrorHandler: Code: 516. DB::Exception: MySQL: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:56.912929 [ 1455 ] {7df41125-ee3b-4e26-b693-ffb99ddedd12} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_6g3p6t4c.kekv. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40010) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:56.913938 [ 1455 ] {7df41125-ee3b-4e26-b693-ffb99ddedd12} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_6g3p6t4c.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:56.919728 [ 1455 ] {675ff317-6fa2-4ece-9330-c32af063fc45} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_6g3p6t4c.kekv. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40010) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:56.920734 [ 1455 ] {675ff317-6fa2-4ece-9330-c32af063fc45} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_6g3p6t4c.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:108: DB::InterpreterDeleteQuery::execute() @ 0x2adddfce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:30:58.871129 [ 1779 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x292a9311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a903d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:58.872234 [ 1779 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:30:59.867513 [ 1779 ] {13dddecd-3e16-4d72-adab-da4e77e0e0ab} executeQuery: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40076) (comment: 02514_bad_index_granularity.sql) (in query: CREATE TABLE t (`id` Int64, `d` String, `p` Map(String, String)) ENGINE = ReplacingMergeTree ORDER BY id SETTINGS index_granularity = 0, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 5588, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20337497), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:147: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x2c402eeb in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:326: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c1403a4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:30:59.869910 [ 1779 ] {13dddecd-3e16-4d72-adab-da4e77e0e0ab} TCPHandler: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:147: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x2c402eeb in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:326: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c1403a4 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:31:01.579899 [ 1455 ] {60c35b2f-49ac-41dc-8321-2731dbf1e9dc} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49150) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select queryID() as t from numbers(10) with totals having t = initialQueryID();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x211ae2be in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad648a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:01.581277 [ 1455 ] {60c35b2f-49ac-41dc-8321-2731dbf1e9dc} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x211ae2be in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad648a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:01.722959 [ 1455 ] {78cbdf3f-a502-4870-a4f2-0dff7f1d47ae} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49150) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select count() from (select queryID() as t from remote('127.0.0.{1..3}', numbers(10)) with totals having t = initialQueryID()) settings prefer_localhost_replica = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x211ae2be in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad648a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6438: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a2f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:01.724394 [ 1455 ] {78cbdf3f-a502-4870-a4f2-0dff7f1d47ae} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [81]) @ 0x211ae2be in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x2ad648a6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6859: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acebcbc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6438: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a2f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:05.227558 [ 1010 ] {9499fd8c-d66e-4ea4-94f8-d9e5b88ad11f} executeQuery: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49190) (comment: 02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins.sql) (in query: SELECT * FROM ( SELECT column1 FROM table1 GROUP BY column1 ) AS a ANY LEFT JOIN ( SELECT * FROM table2 ) AS b ON (b.column1 = a.column1) AND (b.column2 = a.column2) ANY LEFT JOIN ( SELECT * FROM table3 ) AS c ON c.column3 = b.column3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x2af355a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2af33ca5 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2af32d01 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ae39680 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ae39861 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ae3960a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2ae38c65 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:268: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x2ae18da4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:467: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae158bd in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:05.229318 [ 1010 ] {9499fd8c-d66e-4ea4-94f8-d9e5b88ad11f} TCPHandler: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x2af355a9 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2af33ca5 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x2af32d01 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ae39680 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ae39861 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ae3960a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2ae38c65 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:268: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x2ae18da4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:467: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae158bd in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.893057 [ 632 ] {9f097d5e-6e93-477f-b1a3-bff8f357fdc8} executeQuery: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: -- Things that are not a number select _1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.894143 [ 632 ] {9f097d5e-6e93-477f-b1a3-bff8f357fdc8} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.922178 [ 632 ] {8e95212f-420d-4998-b2c3-e99bf236ef30} executeQuery: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select -_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.923619 [ 632 ] {8e95212f-420d-4998-b2c3-e99bf236ef30} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.953355 [ 632 ] {991a7274-a4a9-4748-a0a4-008f59fe0206} executeQuery: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1__0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.954471 [ 632 ] {991a7274-a4a9-4748-a0a4-008f59fe0206} TCPHandler: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.960936 [ 632 ] {235f2bde-dad2-4079-8835-00c89630b561} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.962394 [ 632 ] {235f2bde-dad2-4079-8835-00c89630b561} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.968907 [ 632 ] {fd042eb7-ba91-4f8e-9a20-08346877a170} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_ ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.970070 [ 632 ] {fd042eb7-ba91-4f8e-9a20-08346877a170} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.976610 [ 632 ] {705d6d79-e60e-4ce6-a446-1e74031ba353} executeQuery: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 10_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.978225 [ 632 ] {705d6d79-e60e-4ce6-a446-1e74031ba353} TCPHandler: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.987382 [ 632 ] {938d1520-f0d2-4bcb-9a5e-6a83e6a988aa} executeQuery: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_e5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.989274 [ 632 ] {938d1520-f0d2-4bcb-9a5e-6a83e6a988aa} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:06.998342 [ 632 ] {b4ece43f-f6a5-4e7a-a5cf-596af3fff7e8} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.000069 [ 632 ] {b4ece43f-f6a5-4e7a-a5cf-596af3fff7e8} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.009344 [ 632 ] {f951158a-44b3-45ab-8bc4-bbbf3a523263} executeQuery: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e5_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.011189 [ 632 ] {f951158a-44b3-45ab-8bc4-bbbf3a523263} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.020825 [ 632 ] {cd9ea728-b71c-4e9f-9681-79ebc4d56a04} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.022587 [ 632 ] {cd9ea728-b71c-4e9f-9681-79ebc4d56a04} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.033401 [ 632 ] {36ba77ad-eb25-4cca-8e3d-9440b415098f} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.035143 [ 632 ] {36ba77ad-eb25-4cca-8e3d-9440b415098f} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.044074 [ 632 ] {9a715bc8-cfe7-46fd-bbd6-1e9c0b506d77} executeQuery: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0_x2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.045224 [ 632 ] {9a715bc8-cfe7-46fd-bbd6-1e9c0b506d77} TCPHandler: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.052109 [ 632 ] {645a06cf-b864-49c8-94e0-ab1bbdacfeaf} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2_p2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.053355 [ 632 ] {645a06cf-b864-49c8-94e0-ab1bbdacfeaf} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.059666 [ 632 ] {76be9ffc-0d9c-49a7-9ad5-be67d332afb9} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.060843 [ 632 ] {76be9ffc-0d9c-49a7-9ad5-be67d332afb9} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.066368 [ 632 ] {26494382-0c7c-4457-8f18-abc53d203a15} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p2_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.067532 [ 632 ] {26494382-0c7c-4457-8f18-abc53d203a15} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.073267 [ 632 ] {2372f99f-e6c0-4256-9524-7da78dd4e29c} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.074286 [ 632 ] {2372f99f-e6c0-4256-9524-7da78dd4e29c} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.080079 [ 632 ] {3c2edfe7-d8bb-44e9-bb42-6715c441b1a5} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.081093 [ 632 ] {3c2edfe7-d8bb-44e9-bb42-6715c441b1a5} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.086187 [ 632 ] {adb59aa8-456e-4efe-9e05-68bd66d19635} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.087112 [ 632 ] {adb59aa8-456e-4efe-9e05-68bd66d19635} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.092306 [ 632 ] {8e5b7e95-63c8-4a23-b57f-dc14a1d805c0} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.093267 [ 632 ] {8e5b7e95-63c8-4a23-b57f-dc14a1d805c0} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.099744 [ 632 ] {21fb1865-0ffe-4b35-9ff2-fb05ef7d21d3} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.101120 [ 632 ] {21fb1865-0ffe-4b35-9ff2-fb05ef7d21d3} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.106575 [ 632 ] {86856f98-6e99-4046-b22a-9f3f46f91c6e} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49198) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:07.107728 [ 632 ] {86856f98-6e99-4046-b22a-9f3f46f91c6e} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.055382 [ 1010 ] {84cc0897-98eb-44e3-b0cb-8bdf268cb13f} executeQuery: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: -- is_deleted == 0/1 INSERT INTO test (*) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:97: DB::ReplacingSortedAlgorithm::merge() @ 0x2cee0516 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:319: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x2c4846b9 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:431: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c485cb7 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c636660 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:31:08.057058 [ 1010 ] {84cc0897-98eb-44e3-b0cb-8bdf268cb13f} TCPHandler: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:97: DB::ReplacingSortedAlgorithm::merge() @ 0x2cee0516 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:319: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x2c4846b9 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:431: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c485cb7 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c636660 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:31:08.246434 [ 1010 ] {7fc64b18-21ce-40b2-8d1f-30d410437e1c} executeQuery: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: CREATE TABLE test (`uid` String, `version` UInt32, `is_deleted` String) ENGINE = ReplacingMergeTree(version, is_deleted) ORDER BY uid SETTINGS index_granularity = 17882, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.2767791748046875, merge_max_block_size = 24110, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 7602322747, index_granularity_bytes = 28317295), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x2ac302a8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:826: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_20::operator()(bool, String const&) const @ 0x2c146066 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:875: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x2c141df3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:352: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c140959 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:31:08.248137 [ 1010 ] {7fc64b18-21ce-40b2-8d1f-30d410437e1c} TCPHandler: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x2ac302a8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:826: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_20::operator()(bool, String const&) const @ 0x2c146066 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:875: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x2c141df3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:352: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c140959 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:31:08.392398 [ 1010 ] {a1477a1f-727a-45de-aa5d-2da9aeadd40e} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.393469 [ 1010 ] {a1477a1f-727a-45de-aa5d-2da9aeadd40e} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.485178 [ 1010 ] {6cceb92d-9d8e-4c2e-ab52-d932fcee9651} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testSummingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.486086 [ 1010 ] {6cceb92d-9d8e-4c2e-ab52-d932fcee9651} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.575192 [ 1010 ] {a0de713c-c443-4a5c-86fb-a3bce9c509ac} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testAggregatingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.576018 [ 1010 ] {a0de713c-c443-4a5c-86fb-a3bce9c509ac} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.672081 [ 1010 ] {d215a569-4dcc-4464-a26f-ad6bb9984280} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testCollapsingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.673237 [ 1010 ] {d215a569-4dcc-4464-a26f-ad6bb9984280} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.782477 [ 1010 ] {15b34c2d-a691-4749-990f-dee9a5a77e3a} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49214) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testVersionedCMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:08.783280 [ 1010 ] {15b34c2d-a691-4749-990f-dee9a5a77e3a} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1395: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c602f7c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:09.667986 [ 1010 ] {4cdccd1b-c372-4c3e-8ef2-1ffaaaac21b3} executeQuery: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49264) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, invalid column type select reverseDNSQuery(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20da81f4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:31:09.669729 [ 1010 ] {4cdccd1b-c372-4c3e-8ef2-1ffaaaac21b3} TCPHandler: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20da81f4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:31:09.805155 [ 1010 ] {9a402d20-1e8f-480d-80a1-57c9fe551b9c} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49264) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, wrong number of arguments select reverseDNSQuery();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:31:09.806465 [ 1010 ] {9a402d20-1e8f-480d-80a1-57c9fe551b9c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:31:09.813913 [ 1010 ] {8b2bd560-164c-4503-a10d-9085d3918c8f} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49264) (comment: 02483_test_reverse_dns_resolution.sql) (in query: select reverseDNSQuery(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:31:09.815034 [ 1010 ] {8b2bd560-164c-4503-a10d-9085d3918c8f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:31:10.828282 [ 2715 ] {ee552a48-9e73-4706-b1ee-9cbb8bf9f5ff} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.03.06 01:31:10.828849 [ 1103 ] {ee552a48-9e73-4706-b1ee-9cbb8bf9f5ff} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.03.06 01:31:10.885827 [ 1114 ] {9db390c6-7fa7-4882-9073-1f42778ca614} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.03.06 01:31:10.887800 [ 1128 ] {9db390c6-7fa7-4882-9073-1f42778ca614} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.03.06 01:31:10.971354 [ 1455 ] {457b711c-59a2-43a0-8457-9b1ab321d6ff} test_z3q1wk10.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.06 01:31:10.985240 [ 1455 ] {457b711c-59a2-43a0-8457-9b1ab321d6ff} test_z3q1wk10.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.06 01:31:11.001645 [ 1455 ] {457b711c-59a2-43a0-8457-9b1ab321d6ff} test_z3q1wk10.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.06 01:31:11.017649 [ 1455 ] {457b711c-59a2-43a0-8457-9b1ab321d6ff} test_z3q1wk10.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.03.06 01:31:12.879682 [ 1779 ] {168d50ca-1be2-4cd3-8285-f090c94178df} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59022) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:13.005595 [ 1455 ] {3436f3d4-ef06-4c48-8c45-1da9cca82aad} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54418) (comment: 02480_suspicious_lowcard_in_key.sql) (in query: select count() from test where toUInt64(val) = -1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:283: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1988ffd4 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d118 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bdf6 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:282: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291256fa in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cce8dd3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cce8c92 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 2024.03.06 01:31:13.005686 [ 1779 ] {168d50ca-1be2-4cd3-8285-f090c94178df} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:31:13.008294 [ 1455 ] {3436f3d4-ef06-4c48-8c45-1da9cca82aad} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:283: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1988ffd4 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d118 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bdf6 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:282: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291256fa in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cce8dd3 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cce8c92 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 2024.03.06 01:31:13.030388 [ 1779 ] {163a1aff-9a01-4e87-bb36-670c0c4dcd58} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59028) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:13.032572 [ 1779 ] {163a1aff-9a01-4e87-bb36-670c0c4dcd58} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:31:13.056444 [ 1779 ] {4cb412bb-d0e7-43d8-982a-54420de75f52} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59038) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:13.058178 [ 1779 ] {4cb412bb-d0e7-43d8-982a-54420de75f52} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x20f6ab6c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:187: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x2cc785c1 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:395: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x2cc78f45 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:303: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x2cc775d9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:74: DB::ValuesBlockInputFormat::generate() @ 0x2cc7691b in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:31:14.588751 [ 1455 ] {0dff2ea0-86e6-4767-b7f7-725583266592} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54450) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x2a0d0f6c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:774: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x2a0be7f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:899: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf933 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:14.589929 [ 1455 ] {0dff2ea0-86e6-4767-b7f7-725583266592} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x2a0d0f6c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:774: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x2a0be7f6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:899: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x2a0bf933 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2076: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cbb08 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:14.701406 [ 1455 ] {9d02a592-0fa6-482d-ad6b-3b8401faf768} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54450) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x2aefe973 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x2aefa008 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:227: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeeeaa4 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:506: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec20a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:14.702402 [ 1455 ] {9d02a592-0fa6-482d-ad6b-3b8401faf768} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x2aefe973 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x2aefa008 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:227: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeeeaa4 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:506: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec20a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:20.740700 [ 1779 ] {055c1a88-917e-41fc-bc26-ae9db9c1c44d} executeQuery: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x1c4d8588 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4d8362 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d1f40 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:328: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfdb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:20.865256 [ 1010 ] {b245c3a1-fc51-42de-b080-1567a9889a11} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54602) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:20.865974 [ 1779 ] {055c1a88-917e-41fc-bc26-ae9db9c1c44d} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x1c4d8588 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4d8362 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d1f40 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:328: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfdb9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:20.867234 [ 1010 ] {b245c3a1-fc51-42de-b080-1567a9889a11} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:21.054561 [ 1779 ] {31ee08e8-7aae-45c4-ad7b-18fb36520a82} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- fits Decimal256, but scale is too big to fit SELECT multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.056048 [ 1779 ] {31ee08e8-7aae-45c4-ad7b-18fb36520a82} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.160835 [ 1779 ] {6580e7b4-4ae3-4db3-8f9b-7777d1ef5f76} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e72, 0), toDecimal256(1e-5, 5), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c4de20b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4ddc96 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d5640 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfff9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.162258 [ 1779 ] {6580e7b4-4ae3-4db3-8f9b-7777d1ef5f76} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c4de20b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4ddc96 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d5640 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfff9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.175450 [ 1779 ] {bd204e44-a17f-4e51-8594-740cfc8a04bf} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- does not fit Decimal256 SELECT multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.176814 [ 1779 ] {bd204e44-a17f-4e51-8594-740cfc8a04bf} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.190055 [ 1779 ] {3d392194-f18c-4962-b57b-a6fd2ca2ced4} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.191335 [ 1779 ] {3d392194-f18c-4962-b57b-a6fd2ca2ced4} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1fdb2336 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1fdb1db6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1fda9560 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1fda3f19 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fda3154 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.202332 [ 1779 ] {33868eed-eacf-4c30-a582-9058e1b48339} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54596) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c4de20b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4ddc96 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d5640 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfff9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:21.203549 [ 1779 ] {33868eed-eacf-4c30-a582-9058e1b48339} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x1c4de20b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:173: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x1c4ddc96 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:220: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x1c4d5640 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:360: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x1c4cfff9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:299: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c4cf234 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:31:22.384657 [ 1455 ] {2bd9f45d-ae9c-4664-8ede-4752e0a678f1} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_f3od8rps.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45374) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:22.386663 [ 1455 ] {2bd9f45d-ae9c-4664-8ede-4752e0a678f1} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_f3od8rps.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:22.735049 [ 632 ] {c9246d2d-387c-40f8-b1cb-7d40e76a9ac7} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45382) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, -20);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2600e9b4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:22.736671 [ 632 ] {c9246d2d-387c-40f8-b1cb-7d40e76a9ac7} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2600e9b4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:22.746295 [ 632 ] {2260bbbb-a6ad-4f2b-98ed-f8fdd153fc8c} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45382) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 20 :: UInt128);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2600e9b4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:22.747797 [ 632 ] {2260bbbb-a6ad-4f2b-98ed-f8fdd153fc8c} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2600e9b4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:22.914681 [ 632 ] {73535376-56fd-45b6-9fab-952ed897aa78} executeQuery: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45382) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 9000000000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x2601147b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x26011347 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x2600fa65 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2601024a in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a1d924e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131e65 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:31:22.922126 [ 632 ] {73535376-56fd-45b6-9fab-952ed897aa78} TCPHandler: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x2601147b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x26011347 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x2600fa65 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2601024a in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a1d924e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131e65 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:31:23.430283 [ 1010 ] {7a32ecb6-e33e-41e4-ab94-160a0bd38c33} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.541984 [ 1455 ] {33670f2d-640a-44bf-8c12-7d1d99f349b2} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45398) (comment: 02470_suspicious_low_cardinality_msan.sql) (in query: SELECT colAlias0, colAlias2, colAlias3 FROM alias_2__fuzz_25;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:31:23.542361 [ 1010 ] {7a32ecb6-e33e-41e4-ab94-160a0bd38c33} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.543195 [ 1455 ] {33670f2d-640a-44bf-8c12-7d1d99f349b2} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:31:23.550987 [ 1010 ] {5a61a331-57c0-4d39-a068-22d8a4e12c5d} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.552055 [ 1010 ] {5a61a331-57c0-4d39-a068-22d8a4e12c5d} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.560941 [ 1010 ] {5329d8f4-0078-4a54-a9c3-621074e2837b} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.562158 [ 1010 ] {5329d8f4-0078-4a54-a9c3-621074e2837b} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.571435 [ 1010 ] {1cf18f54-e00b-4fd4-b8bf-ff105752a213} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.572865 [ 1010 ] {1cf18f54-e00b-4fd4-b8bf-ff105752a213} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a9533cc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x2047c75d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2047ac14 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20479e0c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.697417 [ 1010 ] {e03cac10-2e52-40ec-a8a2-ae019571ee01} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.698542 [ 1010 ] {e03cac10-2e52-40ec-a8a2-ae019571ee01} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.706812 [ 1010 ] {d82e2191-37fe-4f91-b1bc-3f0a6956b10b} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.707955 [ 1010 ] {d82e2191-37fe-4f91-b1bc-3f0a6956b10b} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.715431 [ 1010 ] {6c96328a-bfb8-4b98-a763-2235ee5f6fbb} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.716414 [ 1010 ] {6c96328a-bfb8-4b98-a763-2235ee5f6fbb} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.724389 [ 1010 ] {39b65cde-e49e-4c00-9aad-5490f11ca166} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45400) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.725363 [ 1010 ] {39b65cde-e49e-4c00-9aad-5490f11ca166} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x20e953ec in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:999: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x1efbabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:1728: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb90f4 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1efb82ec in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:31:23.744171 [ 1455 ] {6d758e46-8b7c-4e60-94b5-375fcab5002d} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45428) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:23.746417 [ 1455 ] {6d758e46-8b7c-4e60-94b5-375fcab5002d} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.117306 [ 3320 ] {77c4b244-59d2-4f51-bfef-770f9355671f} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45470) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:25.119378 [ 3320 ] {77c4b244-59d2-4f51-bfef-770f9355671f} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:25.806909 [ 3320 ] {a291ac62-c03e-4353-8af7-55441003e681} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.808162 [ 3320 ] {a291ac62-c03e-4353-8af7-55441003e681} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.826597 [ 3320 ] {2afef820-ee40-4ec2-b53c-09f70eea2c72} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '%a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.827713 [ 3320 ] {2afef820-ee40-4ec2-b53c-09f70eea2c72} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.845177 [ 3320 ] {77d6ac64-b4ff-495d-a47e-b53e4a5a04b2} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.846262 [ 3320 ] {77d6ac64-b4ff-495d-a47e-b53e4a5a04b2} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.863270 [ 3320 ] {51965d49-93d0-4868-8e8a-31fffbcc4f80} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.864324 [ 3320 ] {51965d49-93d0-4868-8e8a-31fffbcc4f80} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.881842 [ 3320 ] {80946545-75b4-42cc-8223-7774871ae123} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '_a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.882918 [ 3320 ] {80946545-75b4-42cc-8223-7774871ae123} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.903371 [ 3320 ] {4e179b79-ef71-4f31-94e9-30026fd659b5} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45486) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%\_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:25.904553 [ 3320 ] {4e179b79-ef71-4f31-94e9-30026fd659b5} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2b9ad793 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1287: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa68a0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:26.546463 [ 1455 ] {4119ac70-97b1-489c-ba1b-59b48503caa2} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45512) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:26.549197 [ 1455 ] {4119ac70-97b1-489c-ba1b-59b48503caa2} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:27.760347 [ 1455 ] {6503f717-f27a-4236-a4a9-4cc92d627038} executeQuery: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45514) (comment: 02457_tuple_of_intervals.sql) (in query: SELECT tuple(INTERVAL 1 DAY) - '2022-10-11'::Date;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:748: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1efbaee3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1260: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f0a91a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ed515ef in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:31:27.761655 [ 1455 ] {6503f717-f27a-4236-a4a9-4cc92d627038} TCPHandler: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:748: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x1efbaee3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1260: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f0a91a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ed515ef in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:31:27.968960 [ 1779 ] {4159bfe3-1054-460e-8b2f-3fa0f674b15b} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45558) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:27.968973 [ 1455 ] {013f5bdc-b5f2-421e-8861-6a5dc29442b7} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45514) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND + tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x20571149 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20226d2f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:31:27.970721 [ 1455 ] {013f5bdc-b5f2-421e-8861-6a5dc29442b7} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x20571149 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20226d2f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:31:27.971439 [ 1779 ] {4159bfe3-1054-460e-8b2f-3fa0f674b15b} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:28.109757 [ 1455 ] {9583b220-8d9d-4efd-85f2-367737b7afc6} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45514) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND - tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f0a9b09 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ed515ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:31:28.256574 [ 1455 ] {9583b220-8d9d-4efd-85f2-367737b7afc6} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1f0a9b09 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ed515ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:31:28.257082 [ 1010 ] {11a1930d-6090-44f3-9a61-16ebbc863d37} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45542) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b6965 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:28.259602 [ 1010 ] {11a1930d-6090-44f3-9a61-16ebbc863d37} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b6965 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:28.492751 [ 1010 ] {de9958fa-dc7d-4099-bb80-fb12f9b605dd} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45542) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=10 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b6965 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:28.495822 [ 1010 ] {de9958fa-dc7d-4099-bb80-fb12f9b605dd} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b6965 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:31:28.725733 [ 1010 ] {07935338-da56-4fed-aa27-daab378fbf0f} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45542) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c5d19c5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c5b44c1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2954 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:31:28.727098 [ 1010 ] {07935338-da56-4fed-aa27-daab378fbf0f} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c5d19c5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c5b44c1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2954 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:31:28.773840 [ 1010 ] {19e11b4d-d672-4374-b4de-c11de578219d} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45542) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c5d19c5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c5b44c1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2954 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:31:28.775134 [ 1010 ] {19e11b4d-d672-4374-b4de-c11de578219d} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation (Session expired) (Session expired). (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/ZooKeeper/IKeeper.cpp:25: Coordination::Exception::Exception(String const&, Coordination::Error, int) @ 0x2d2cdd12 in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.cpp:36: Coordination::Exception::Exception(String const&, Coordination::Error) @ 0x2d2cdf86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:218: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf7c in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&)::'lambda'()&&) @ 0x2c5d19c5 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::consume(DB::Chunk)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk)::'lambda'()&&) @ 0x2c5b44c1 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:401: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2954 in /usr/bin/clickhouse 12. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:31:29.400364 [ 1010 ] {14328d2f-7280-47c7-962c-7790c8254269} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45582) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:29.402501 [ 1010 ] {14328d2f-7280-47c7-962c-7790c8254269} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.392528 [ 1779 ] {e527c7e7-e29d-431f-ac9a-3250b1296e8c} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45628) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "x" : 2}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:238: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9bd127 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.393377 [ 1779 ] {e527c7e7-e29d-431f-ac9a-3250b1296e8c} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:238: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9bd127 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.497439 [ 1779 ] {7de24349-d581-469d-9db7-1da08b8ba480} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45628) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "y" : 2}\n{"x" : 2, "x" : 3}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:259: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9bd4c7 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.498454 [ 1779 ] {7de24349-d581-469d-9db7-1da08b8ba480} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:259: DB::IRowWithNamesSchemaReader::readSchema() @ 0x2c9bd4c7 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.624346 [ 1779 ] {b11e9280-9ebe-4f5d-a4d0-03da54648950} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45628) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSVWithNames, 'a,b,a\n1,2,3');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c9bc45c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c9cf0a6 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.625412 [ 1779 ] {b11e9280-9ebe-4f5d-a4d0-03da54648950} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c9bc45c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c9cf0a6 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.632242 [ 1779 ] {f883a1dd-fdfe-40a3-a59c-a38834852817} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45628) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSV, '1,2,3') settings column_names_for_schema_inference='a, b, a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c9bc45c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c9cf0a6 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.633288 [ 1779 ] {f883a1dd-fdfe-40a3-a59c-a38834852817} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:134: DB::IRowSchemaReader::readSchema() @ 0x2c9bc45c in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:375: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x2c9cf0a6 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x2ade118d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.795764 [ 1778 ] {62b25603-1eae-4cf9-ad7a-b65487614cb8} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45652) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:30.797821 [ 1778 ] {62b25603-1eae-4cf9-ad7a-b65487614cb8} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:32.088899 [ 1778 ] {7227b5bb-bc07-4f9b-b758-da408fb7417f} executeQuery: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36550) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:32.091116 [ 1778 ] {7227b5bb-bc07-4f9b-b758-da408fb7417f} TCPHandler: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:32.387456 [ 1778 ] {c17ba66a-99dc-444a-8dcb-94ba7f6f6238} executeQuery: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36558) (comment: 02455_improve_feedback_when_replacing_partition_with_different_primary_key.sql) (in query: ALTER TABLE test_b REPLACE PARTITION '0' FROM test_a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7051: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6ad1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7081: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a73bd in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1842: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e206 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:32.388456 [ 1778 ] {c17ba66a-99dc-444a-8dcb-94ba7f6f6238} TCPHandler: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7051: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6ad1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7081: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a73bd in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1842: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e206 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:33.433569 [ 3320 ] {760de044-7263-4c1d-9d62-b8b05cc83616} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36590) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:33.435490 [ 3320 ] {760de044-7263-4c1d-9d62-b8b05cc83616} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:34.819170 [ 1778 ] {6a47e90c-3afa-44a6-8d45-827acbe87911} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36622) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:34.821208 [ 1778 ] {6a47e90c-3afa-44a6-8d45-827acbe87911} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:36.155626 [ 632 ] {6cac89d0-db2d-43d8-8e61-30fcfc6ef8b5} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36678) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:36.158596 [ 632 ] {6cac89d0-db2d-43d8-8e61-30fcfc6ef8b5} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:37.491635 [ 3320 ] {245e733b-2619-4167-b913-2ec8959c3957} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36696) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:37.493542 [ 3320 ] {245e733b-2619-4167-b913-2ec8959c3957} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:37.850128 [ 3320 ] {816395e8-387e-41b8-9600-c5d95bc13656} executeQuery: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36706) (comment: 02424_pod_array_overflow.sql) (in query: SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b2abc5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:326: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b58dc7 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x2ca8ce56 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b5ff in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:31:37.851589 [ 3320 ] {816395e8-387e-41b8-9600-c5d95bc13656} TCPHandler: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b2abc5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:326: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b58dc7 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x2ca8ce56 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:122: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c8827f0 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b5ff in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:31:38.858830 [ 3320 ] {b06b4619-3541-4a99-8910-80583dc645c7} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36722) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:38.860910 [ 3320 ] {b06b4619-3541-4a99-8910-80583dc645c7} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:31:39.244208 [ 3320 ] {0585d2d3-5249-472b-982e-5358709fcc82} test_0pbetqis.table_one (9e49d39a-743d-49c4-bb43-63ee56c48290): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 01:31:39.441984 [ 3320 ] {dc132d4b-38ef-4252-bea4-6bc0a66e9ee5} test_0pbetqis.table_one (1b67cb1d-3804-46cf-b4fb-136ea2e4556d): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 01:31:39.474967 [ 3320 ] {b666e1ce-313b-464b-a4a1-76906566701a} test_0pbetqis.table_two (3fd24706-9e76-4402-ad1f-69d0cc974161): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 01:31:39.923679 [ 3320 ] {e0c7efea-57ba-4dcf-9a3d-279fffe66fb8} test_0pbetqis.table_two (334ea89f-dcbc-4013-8758-0d97b643e6cb): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 01:31:40.160867 [ 3320 ] {61139079-f6df-4306-bb5f-9a1203069520} executeQuery: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36748) (comment: 02422_insert_different_granularity.sql) (in query: ALTER TABLE table_two REPLACE PARTITION 0 FROM table_one;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2231b0ec in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e463 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:40.162224 [ 3320 ] {61139079-f6df-4306-bb5f-9a1203069520} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2231b0ec in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e463 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:40.173011 [ 1778 ] {9abc579b-8092-42ca-841f-c2e9ad36515f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36772) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:40.176235 [ 1778 ] {9abc579b-8092-42ca-841f-c2e9ad36515f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:41.513703 [ 1778 ] {b77db5c9-8e68-4176-962c-281421daa182} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55676) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:41.516034 [ 1778 ] {b77db5c9-8e68-4176-962c-281421daa182} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:42.816223 [ 1778 ] {668efccb-c783-4db1-8eb7-ee1cf6cfe3b1} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55714) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:42.818653 [ 1778 ] {668efccb-c783-4db1-8eb7-ee1cf6cfe3b1} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:44.328963 [ 1778 ] {69d76282-9be6-41e0-9842-c71f42bc38da} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55776) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_valu, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad01338 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad07df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0517f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:44.331214 [ 1778 ] {69d76282-9be6-41e0-9842-c71f42bc38da} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad01338 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad07df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0517f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:45.778838 [ 1455 ] {1550bade-b82a-4434-891f-6dcbbadf5b5f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55836) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH 1 AS constant_value SELECT (SELECT constant_valu) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:45.780879 [ 1455 ] {1550bade-b82a-4434-891f-6dcbbadf5b5f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:47.551933 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx11_28890} executeQuery: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_1_0_2 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47066) (in query: truncate table tt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c0dcc2c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177b17 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1650: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x2c607356 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77ad7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:47.553071 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx11_28890} DynamicQueryHandler: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_1_0_2 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c0dcc2c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177b17 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1650: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x2c607356 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77ad7 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:31:48.626170 [ 1779 ] {f715a458-b0e6-4e09-9132-8daec6cfb995} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_f3od8rps.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55920) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:48.628338 [ 1779 ] {f715a458-b0e6-4e09-9132-8daec6cfb995} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_f3od8rps.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:50.136726 [ 1779 ] {d7d9d8a1-8f63-45e0-a76c-69e901c487b6} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_f3od8rps.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55946) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:50.139391 [ 1779 ] {d7d9d8a1-8f63-45e0-a76c-69e901c487b6} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_f3od8rps.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:51.448671 [ 3320 ] {d4a19b7f-e05e-4f6d-b163-281aa9c8c237} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40878) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:51.451632 [ 3320 ] {d4a19b7f-e05e-4f6d-b163-281aa9c8c237} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:52.758007 [ 1779 ] {fc543611-491d-4a6d-8f55-d305ab5b6952} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40900) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:52.760156 [ 1779 ] {fc543611-491d-4a6d-8f55-d305ab5b6952} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:54.073979 [ 3320 ] {139fb98f-3808-43d1-970d-3240abeac8a3} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40938) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:54.076246 [ 3320 ] {139fb98f-3808-43d1-970d-3240abeac8a3} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:54.666575 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx22_13445} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8342260318990103599'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52348) (in query: alter table tt delete where n%2=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x2c380a24 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x2c3807d0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:553: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x2c5f7f81 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:523: DB::StorageMergeTree::waitForMutation(long) @ 0x2c5f691a in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:578: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2c5f97f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2a3d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:54.667596 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx22_13445} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 8342260318990103599'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x2c380a24 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x2c3807d0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:553: DB::StorageMergeTree::waitForMutation(long, String const&) @ 0x2c5f7f81 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:523: DB::StorageMergeTree::waitForMutation(long) @ 0x2c5f691a in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:578: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x2c5f97f5 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:150: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2a3d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:31:55.403450 [ 1779 ] {3d7f40e4-9ede-4605-91a0-2f93c1fc0e28} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40966) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:55.405840 [ 1779 ] {3d7f40e4-9ede-4605-91a0-2f93c1fc0e28} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:56.710991 [ 1115 ] {} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_owd0yo7q.t_json_async_insert FORMAT JSONAsObject' with query id cc3cccbe-128d-4c0c-9cff-f340339d48b5. DB::Exception: Cannot parse object: (at row 1) 2024.03.06 01:31:56.828222 [ 1779 ] {b674f63e-b8b2-48e1-8ec4-6f2d9ef72e78} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41010) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:56.828203 [ 1778 ] {cc3cccbe-128d-4c0c-9cff-f340339d48b5} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55862) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29b822f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b778b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2ca2c88b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2ca2b41a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c8e8bc1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c8e87b3 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29eb3f0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29eb63aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb6315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb62f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29eb62d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29eb62a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 2024.03.06 01:31:56.830218 [ 1779 ] {b674f63e-b8b2-48e1-8ec4-6f2d9ef72e78} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:56.830559 [ 1778 ] {cc3cccbe-128d-4c0c-9cff-f340339d48b5} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29b822f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b778b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2ca2c88b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2ca2b41a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c8e8bc1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c8e87b3 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29eb3f0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29eb63aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb6315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb62f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29eb62d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29eb62a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 2024.03.06 01:31:58.355574 [ 1779 ] {9b7eace1-a3f4-4a26-b50f-67d332d746d9} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41084) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:58.358201 [ 1779 ] {9b7eace1-a3f4-4a26-b50f-67d332d746d9} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:59.055444 [ 1779 ] {463e8de4-aefa-49d3-9f17-d33e35a2397c} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41098) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:870: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf828ab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.056827 [ 1779 ] {463e8de4-aefa-49d3-9f17-d33e35a2397c} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:870: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf828ab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.199106 [ 1779 ] {ff305ff4-6adb-48e6-a01b-beb089daeff9} executeQuery: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41098) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b8f0960 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b8f10ba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:872: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82a09 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.200562 [ 1779 ] {ff305ff4-6adb-48e6-a01b-beb089daeff9} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b8f0960 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b8f10ba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:872: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82a09 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.354789 [ 1779 ] {943710a1-5fe6-40b4-9197-39831cd2d1bd} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41098) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key, value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82aa7 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.355951 [ 1779 ] {943710a1-5fe6-40b4-9197-39831cd2d1bd} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82aa7 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.367068 [ 1779 ] {5651ef01-6210-429c-b147-c57e3c718f85} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41098) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(concat(key, value));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82aa7 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.368099 [ 1779 ] {5651ef01-6210-429c-b147-c57e3c718f85} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:875: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x2bf82aa7 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:31:59.730434 [ 4015 ] {000255bf-7cea-4dd4-b2c1-1164cea32098} executeQuery: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41134) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:31:59.732380 [ 4015 ] {000255bf-7cea-4dd4-b2c1-1164cea32098} TCPHandler: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:01.251597 [ 632 ] {9663735d-37dd-466c-b8fd-69ad3c460431} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55730) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:01.253466 [ 632 ] {9663735d-37dd-466c-b8fd-69ad3c460431} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:02.576588 [ 632 ] {00df6803-1d85-446c-b083-53d4fcd01b58} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55764) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:02.578517 [ 632 ] {00df6803-1d85-446c-b083-53d4fcd01b58} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2922: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:03.876276 [ 1779 ] {119ed37c-0bc8-401e-b958-fe326314aea6} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55792) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:03.878200 [ 1779 ] {119ed37c-0bc8-401e-b958-fe326314aea6} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:05.249967 [ 632 ] {65d32013-7b11-4ff5-8af6-f38b2643da62} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55844) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:05.251889 [ 632 ] {65d32013-7b11-4ff5-8af6-f38b2643da62} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:06.565660 [ 632 ] {db1041c7-fb95-4571-8e7e-61451d06bf39} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55868) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:06.567736 [ 632 ] {db1041c7-fb95-4571-8e7e-61451d06bf39} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2806: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0def5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:06.711711 [ 1115 ] {} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_owd0yo7q.t_json_async_insert FORMAT JSONAsObject' with query id e613deaf-164b-452b-971a-4381af530c71. DB::Exception: Cannot parse object: (at row 1) 2024.03.06 01:32:06.713859 [ 1778 ] {e613deaf-164b-452b-971a-4381af530c71} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55720) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29b822f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b778b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2ca2c88b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2ca2b41a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c8e8bc1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c8e87b3 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29eb3f0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29eb63aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb6315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb62f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29eb62d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29eb62a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 2024.03.06 01:32:06.715998 [ 1778 ] {e613deaf-164b-452b-971a-4381af530c71} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x29b822f7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b778b1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:208: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x2ca2c88b in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2ca2b41a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:62: DB::StreamingFormatExecutor::execute() @ 0x2c8e8bc1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:40: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x2c8e87b3 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:440: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x29eb3f0a in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:183: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1::operator()() @ 0x29eb63aa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_1&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb6315 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_1&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_1&) @ 0x29eb62f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_1, void ()>::operator()[abi:v15000]() @ 0x29eb62d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x29eb62a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 2024.03.06 01:32:07.944145 [ 1779 ] {d46f280b-a16a-4fa1-ab02-5346298e2cfa} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55900) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:07.945892 [ 1779 ] {d46f280b-a16a-4fa1-ab02-5346298e2cfa} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:09.389380 [ 1778 ] {b0b4476c-1021-42dc-9830-27fd56a4c21f} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55960) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:09.391241 [ 1778 ] {b0b4476c-1021-42dc-9830-27fd56a4c21f} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:09.602910 [ 1778 ] {c5cc678e-b816-4889-ab47-f9477895892e} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55966) (comment: 02407_array_element_from_map_wrong_type.sql) (in query: select m[0], materialize(map('key', 42)) as m;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a64604 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a651b2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:09.604065 [ 1778 ] {c5cc678e-b816-4889-ab47-f9477895892e} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a64604 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21a651b2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:32:10.736337 [ 4015 ] {fddb8534-1752-4d33-8be6-61375ebfca16} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55996) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:10.737980 [ 4015 ] {fddb8534-1752-4d33-8be6-61375ebfca16} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x2ad5015a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5364: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef365 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:12.338964 [ 4015 ] {e582dfb2-e94b-4f89-bc4d-1eba1c53b542} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39722) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_value.value_, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3313: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfbb95 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfa0a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad01338 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad07df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0517f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:32:12.341484 [ 4015 ] {e582dfb2-e94b-4f89-bc4d-1eba1c53b542} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3313: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfbb95 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfa0a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4650: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad01338 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4410: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad07df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5041: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0517f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:32:12.483888 [ 939 ] {b8ea598f-1167-4574-a1e2-14fc4c008a3c} executeQuery: Code: 60. DB::Exception: Table test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02423_ddl_for_opentelemetry.sh) (in query: /* ddl_entry=query-0000000005 */ DROP TABLE test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:805: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a008118 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac76881 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fea6df in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fe9464 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29fe7633 in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29fdeda4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 2024.03.06 01:32:12.485024 [ 939 ] {b8ea598f-1167-4574-a1e2-14fc4c008a3c} DDLWorker: Query /* ddl_entry=query-0000000005 */ DROP TABLE test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist wasn't finished successfully: Code: 60. DB::Exception: Table test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:805: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a008118 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac76881 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fea6df in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fe9464 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29fe7633 in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29fdeda4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:12.679290 [ 1778 ] {bc824dae-44aa-48b7-b42a-d4c2d66f3fc2} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37414) (comment: 02423_ddl_for_opentelemetry.sh) (in query: DROP TABLE test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x2b3d11a8 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:467: DB::DDLQueryStatusSource::generate() @ 0x2b3cda70 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:12.680651 [ 1778 ] {bc824dae-44aa-48b7-b42a-d4c2d66f3fc2} DynamicQueryHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_2ukjdc3a.ddl_test_for_opentelemetry_non_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x2b3d11a8 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:467: DB::DDLQueryStatusSource::generate() @ 0x2b3cda70 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:13.902893 [ 1778 ] {51e16128-ebfa-4789-8529-a88441b86a43} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39754) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cast(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3338: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfbd5e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfa0a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:32:14.029252 [ 1779 ] {e7310f2b-c2e8-44b1-9e40-3746dea1c4e6} executeQuery: Code: 456. DB::Exception: Substitution `price` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39766) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b3c7163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c65ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 27. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bc652aa in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:582: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19540 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:32:14.029649 [ 1778 ] {51e16128-ebfa-4789-8529-a88441b86a43} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3338: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfbd5e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3503: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfa0a1 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5463: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acefc9d in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:32:14.032171 [ 1779 ] {e7310f2b-c2e8-44b1-9e40-3746dea1c4e6} TCPHandler: Code: 456. DB::Exception: Substitution `price` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b3c7163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c65ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 27. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bc652aa in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:582: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19540 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:32:14.176512 [ 3320 ] {ee55f070-51d7-41e5-b9df-e2c34148ae60} executeQuery: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39770) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: WITH (x -> x + 1) AS lambda SELECT lambda.nested(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4478: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acffc69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:14.177634 [ 3320 ] {ee55f070-51d7-41e5-b9df-e2c34148ae60} TCPHandler: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4478: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acffc69 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:14.369418 [ 632 ] {928cf4a6-b9aa-4685-a472-b14a52cb42dd} executeQuery: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39744) (comment: 02389_analyzer_nested_lambda.sql) (in query: SELECT arrayMap(x -> concat(toString(id), arrayMap(x -> toString(1), [NULL])), [NULL]) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1c01b791 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afbf in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:217: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x2aeb109a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1220: DB::Planner::buildPlanForQueryNode() @ 0x2aeae74d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:14.492891 [ 3320 ] {6208880b-f007-47db-8ad3-2abb616b9273} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39770) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf4949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:14.493173 [ 632 ] {928cf4a6-b9aa-4685-a472-b14a52cb42dd} TCPHandler: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1c01b791 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afbf in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:217: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x2aeb109a in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1220: DB::Planner::buildPlanForQueryNode() @ 0x2aeae74d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:14.494088 [ 3320 ] {6208880b-f007-47db-8ad3-2abb616b9273} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf4949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:14.500200 [ 3320 ] {a7e680ac-fd30-49d0-a3ee-bce45621bc82} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39770) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf4949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:14.501214 [ 3320 ] {a7e680ac-fd30-49d0-a3ee-bce45621bc82} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x2ad43e48 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2600: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb9a4 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5816: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf4949 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6678: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea123 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:16.944980 [ 1779 ] {f4d26241-2f32-4db1-a92c-532555e85fff} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_f3od8rps.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39832) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:16.947408 [ 1779 ] {f4d26241-2f32-4db1-a92c-532555e85fff} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_f3od8rps.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:17.520467 [ 1779 ] {8215e0d4-8755-4923-93de-30f94f33dea8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39856) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:17.521426 [ 1779 ] {8215e0d4-8755-4923-93de-30f94f33dea8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:18.362915 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx43_31978} executeQuery: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_2_1 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54332) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c0dcc2c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177b17 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:18.364017 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx43_31978} DynamicQueryHandler: Code: 650. DB::Exception: Part all_1_1_1 intersects part all_1_2_1 (state Active). One of them is empty part. That is a race between drop operation under transaction and a merge/mutation. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x1c0dcc2c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3642: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177b17 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 17. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:18.568741 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx43_17334} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54350) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x2af2aff5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x2af2ab6d in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:18.714971 [ 1779 ] {5e8e57a7-c77b-4264-ae71-1350e4ee2e68} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_f3od8rps.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39894) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:18.715027 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx43_17334} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x2af2aff5 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x2af2ab6d in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:18.719733 [ 1779 ] {5e8e57a7-c77b-4264-ae71-1350e4ee2e68} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_f3od8rps.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:20.173264 [ 1779 ] {3dbb7461-cec2-49ab-b7af-b9b91d2b6be7} executeQuery: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39942) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:20.175013 [ 1779 ] {3dbb7461-cec2-49ab-b7af-b9b91d2b6be7} TCPHandler: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2946: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:21.546426 [ 632 ] {74c45cf8-1f21-4547-b32e-ad21bcbd93f8} executeQuery: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49586) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:21.548623 [ 632 ] {74c45cf8-1f21-4547-b32e-ad21bcbd93f8} TCPHandler: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x2ad40a04 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2875: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_2::operator()(unsigned long) const @ 0x2ad0ea03 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2929: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0cc43 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3246: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2947: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3288: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acfac67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3481: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9ebb in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 01:32:22.290407 [ 632 ] {24f2e6e2-ef0c-4f4b-a927-8c3f9216247a} executeQuery: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49614) (comment: 02428_parameterized_view.sh) (in query: INSERT INTO test_02428_pv1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:398: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x28db25a7 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:22.294815 [ 632 ] {24f2e6e2-ef0c-4f4b-a927-8c3f9216247a} TCPHandler: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:398: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x28db25a7 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:22.858711 [ 1779 ] {a9b4f90e-b5fc-4a03-a69c-15052e025279} executeQuery: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49624) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:22.861419 [ 1779 ] {a9b4f90e-b5fc-4a03-a69c-15052e025279} TCPHandler: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:23.883587 [ 1779 ] {27aae5ae-2936-4f8c-a535-82cf4b57a58b} executeQuery: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49668) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM pv123(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:23.885709 [ 1779 ] {27aae5ae-2936-4f8c-a535-82cf4b57a58b} TCPHandler: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:24.277251 [ 632 ] {816ccfaa-ed51-4fc5-ba4f-1957fa752cbb} executeQuery: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49682) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:24.279723 [ 632 ] {816ccfaa-ed51-4fc5-ba4f-1957fa752cbb} TCPHandler: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:25.577588 [ 632 ] {de78f1bc-793f-4a2e-bb5a-fe0ac11568da} executeQuery: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49726) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.a.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:25.579245 [ 632 ] {de78f1bc-793f-4a2e-bb5a-fe0ac11568da} TCPHandler: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x2ad31816 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2372: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acff126 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2596: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acfb7fc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3473: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x2acf9e1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5290: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acee93b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:26.015278 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx52_16452} executeQuery: Code: 384. DB::Exception: Part all_1_1_1 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47902) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3523: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) const @ 0x2c174b35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3630: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177963 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:26.016645 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx52_16452} DynamicQueryHandler: Code: 384. DB::Exception: Part all_1_1_1 (state Outdated) already exists, but it will be deleted soon. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3523: DB::MergeTreeData::checkPartDuplicate(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&) const @ 0x2c174b35 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3630: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, std::unique_lock&, std::vector, std::allocator>>*) @ 0x2c177963 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3682: DB::MergeTreeData::renameTempPartAndReplace(std::shared_ptr&, DB::MergeTreeData::Transaction&) @ 0x2c177fde in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:1597: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c6058e2 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:26.677862 [ 1779 ] {11eb23c2-1fa4-4a24-ad0c-b25b3afa960b} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49772) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_v1(price=10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:26.679490 [ 1779 ] {11eb23c2-1fa4-4a24-ad0c-b25b3afa960b} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:28.550941 [ 632 ] {b94c55be-6070-421a-98fe-b9af29497f1f} executeQuery: Code: 36. DB::Exception: JOIN test_zvzfaujz.test_table_join_1 AS t1 ALL INNER JOIN test_zvzfaujz.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49822) (comment: 02382_analyzer_matcher_join_using.sql) (in query: SELECT * FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (id, id, id) ORDER BY id, t1.value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6366: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad152fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:28.552133 [ 632 ] {b94c55be-6070-421a-98fe-b9af29497f1f} TCPHandler: Code: 36. DB::Exception: JOIN test_zvzfaujz.test_table_join_1 AS t1 ALL INNER JOIN test_zvzfaujz.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6366: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad152fd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:28.930603 [ 3320 ] {988565f7-1842-4364-9670-6423508d9ca2} executeQuery: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49844) (comment: 02383_arrow_dict_special_cases.sh) (in query: select * from file('test_02383/corrupted.arrow')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x2c92ceec in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:413: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x2c9221e2 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:498: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x2c91d8e3 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:760: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr) @ 0x2c917699 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:968: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x2c9190b5 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:892: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x2c918291 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:77: DB::ArrowBlockInputFormat::generate() @ 0x2c8f3810 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 2024.03.06 01:32:28.933219 [ 3320 ] {988565f7-1842-4364-9670-6423508d9ca2} TCPHandler: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x2c92ceec in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:413: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x2c9221e2 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:498: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x2c91d8e3 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:760: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr) @ 0x2c917699 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:968: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x2c9190b5 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:892: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x2c918291 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:77: DB::ArrowBlockInputFormat::generate() @ 0x2c8f3810 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 2024.03.06 01:32:30.947930 [ 632 ] {caf017aa-d583-43a6-b6dd-63b6f838d72e} executeQuery: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49914) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv2(price=50)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b3c7163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c65ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 27. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 29. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 31. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bc652aa in /usr/bin/clickhouse 2024.03.06 01:32:30.954942 [ 632 ] {caf017aa-d583-43a6-b6dd-63b6f838d72e} TCPHandler: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:71: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x2b3c7163 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:77: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c65ea in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 23. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 25. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 27. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 29. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 31. /build/src/Storages/StorageView.cpp:216: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2bc652aa in /usr/bin/clickhouse 2024.03.06 01:32:40.596031 [ 1010 ] {fe03e0fb-d96a-42ea-b6e8-1e3904603776} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38452) (comment: 02374_analyzer_array_join.sql) (in query: SELECT 1 AS value FROM test_table ARRAY JOIN [1,2,3] AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2ad27c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1418d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:40.597292 [ 1010 ] {fe03e0fb-d96a-42ea-b6e8-1e3904603776} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2ad27c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1418d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:40.782881 [ 1010 ] {efc69788-c488-42ce-ae8f-f1dad554e252} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38452) (comment: 02374_analyzer_array_join.sql) (in query: SELECT id AS value FROM test_table ARRAY JOIN value_array AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2ad27c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1418d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:40.783960 [ 1010 ] {efc69788-c488-42ce-ae8f-f1dad554e252} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x2ad27c68 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6239: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1418d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6452: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a7d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.397542 [ 1778 ] {1bb617aa-d568-4289-a9a7-d711309e3f65} executeQuery: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.398945 [ 1778 ] {1bb617aa-d568-4289-a9a7-d711309e3f65} TCPHandler: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.568999 [ 1778 ] {4d0e4eef-c615-4500-90f1-650204588d17} executeQuery: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.570029 [ 1778 ] {4d0e4eef-c615-4500-90f1-650204588d17} TCPHandler: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.750908 [ 1778 ] {2961dd22-fdb3-46b3-9e97-b9f527bac538} executeQuery: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.751971 [ 1778 ] {2961dd22-fdb3-46b3-9e97-b9f527bac538} TCPHandler: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.926492 [ 1778 ] {26e446bb-de6d-4f28-befa-5133fc48add4} executeQuery: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:41.927552 [ 1778 ] {26e446bb-de6d-4f28-befa-5133fc48add4} TCPHandler: Code: 47. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6376: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad1551d in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.253082 [ 1778 ] {4a7e90b7-fd75-4029-951f-40d04d1d55e0} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.254329 [ 1778 ] {4a7e90b7-fd75-4029-951f-40d04d1d55e0} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.472852 [ 1778 ] {406ac4d9-7284-4859-8b10-bca930e30852} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.473919 [ 1778 ] {406ac4d9-7284-4859-8b10-bca930e30852} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.689239 [ 1010 ] {89eea7fb-7520-48bc-8296-71a7357dce53} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54356) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.806819 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx69_21758} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (38, 50, 5953b45f-8b85-4ea9-95f0-65a226b3db2b) tried to remove data part all_1_1_6 (covered by all_1_1_7) from test_5cdl7q8r.tt (1abbd6c5-1cce-4829-a336-5180eefb4c18), but it's locked by another transaction (TID: (38, 51, 5953b45f-8b85-4ea9-95f0-65a226b3db2b), TIDH: 2386339622176595195) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46318) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x2b2b009a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x2b2ac6b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x2af8d54f in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:119: DB::MergeTreeTransaction::addNewPartAndRemoveCovered(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::MergeTreeTransaction*) @ 0x2af8d8c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:6020: DB::MergeTreeData::Transaction::commit(std::unique_lock*) @ 0x2c19d861 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1611: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c60614f in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.807014 [ 1778 ] {c9871fcb-04df-45b1-b84f-94a2b0703825} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.807170 [ 1010 ] {89eea7fb-7520-48bc-8296-71a7357dce53} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.807941 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx69_21758} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (38, 50, 5953b45f-8b85-4ea9-95f0-65a226b3db2b) tried to remove data part all_1_1_6 (covered by all_1_1_7) from test_5cdl7q8r.tt (1abbd6c5-1cce-4829-a336-5180eefb4c18), but it's locked by another transaction (TID: (38, 51, 5953b45f-8b85-4ea9-95f0-65a226b3db2b), TIDH: 2386339622176595195) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x2b2b009a in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x2b2ac6b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x2af8d54f in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:119: DB::MergeTreeTransaction::addNewPartAndRemoveCovered(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::MergeTreeTransaction*) @ 0x2af8d8c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:6020: DB::MergeTreeData::Transaction::commit(std::unique_lock*) @ 0x2c19d861 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1611: DB::StorageMergeTree::renameAndCommitEmptyParts(std::vector, std::allocator>>&, DB::MergeTreeData::Transaction&) @ 0x2c60614f in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:1770: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60c1f6 in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeData.cpp:4813: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ab8a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:42.808634 [ 1778 ] {c9871fcb-04df-45b1-b84f-94a2b0703825} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.966845 [ 1010 ] {3f9469d7-b7ee-43bc-8fe2-5bfee9157b11} executeQuery: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54356) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [1];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19bf1333 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:82: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2ad6c2b3 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:148: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6b72c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.968089 [ 1010 ] {3f9469d7-b7ee-43bc-8fe2-5bfee9157b11} TCPHandler: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19bf1333 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:82: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2ad6c2b3 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:148: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6b72c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.977571 [ 1010 ] {01e508ce-db0c-4357-8a8a-b8a18adccfde} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54356) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN (((1, 2), (1, 2)), ((1, 2), (1, 2)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.978804 [ 1010 ] {01e508ce-db0c-4357-8a8a-b8a18adccfde} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.990127 [ 1010 ] {30cecd3f-ee5f-4216-a3c3-b0331ea072a9} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54356) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [((1, 2), (1, 2)), ((1, 2), (1, 2))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:42.991582 [ 1010 ] {30cecd3f-ee5f-4216-a3c3-b0331ea072a9} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:167: DB::makeSetForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, DB::Settings const&) @ 0x2ad6bb94 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5113: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad05c1d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5431: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef936 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.038592 [ 1778 ] {6469baa4-fadb-43c4-ad5f-ef08a213b367} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.039936 [ 1778 ] {6469baa4-fadb-43c4-ad5f-ef08a213b367} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL INNER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.273034 [ 1778 ] {11810364-79ea-43e9-8dd8-bcc0d2b6b17b} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.274718 [ 1778 ] {11810364-79ea-43e9-8dd8-bcc0d2b6b17b} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.476788 [ 1778 ] {f021e984-7c44-4087-bf2f-8b80eea3aec0} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.477885 [ 1778 ] {f021e984-7c44-4087-bf2f-8b80eea3aec0} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.681243 [ 1778 ] {ddc098ba-0267-4fd9-8ef8-702f11021f71} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.682351 [ 1778 ] {ddc098ba-0267-4fd9-8ef8-702f11021f71} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.894941 [ 1778 ] {41790263-26c9-44bf-a8f3-34377de2cbaa} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:43.896152 [ 1778 ] {41790263-26c9-44bf-a8f3-34377de2cbaa} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL LEFT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.046463 [ 1010 ] {075058c9-d3d2-4a38-9975-895aad1d222a} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54368) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(x), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c5f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29e3dbee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29e374a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29e3720f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2aebea25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeef749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec29b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.048135 [ 1010 ] {075058c9-d3d2-4a38-9975-895aad1d222a} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c5f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29e3dbee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29e374a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29e3720f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2aebea25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeef749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec29b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.069770 [ 1010 ] {e081dab7-c38f-4a9a-b986-e3ca03c3429a} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54368) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(cast(x, 'Array(UInt8)')), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c5f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29e3dbee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29e374a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29e3720f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2aebea25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeef749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec29b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.071009 [ 1010 ] {e081dab7-c38f-4a9a-b986-e3ca03c3429a} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:760: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c5f6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:573: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x29e3dbee in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:740: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x29e3c252 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:494: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x29e3b4a9 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:472: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x29e374a8 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:791: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x29e3720f in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:201: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x2aebea25 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:310: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x2aeef749 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:510: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x2aeec29b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1153: DB::Planner::buildPlanForQueryNode() @ 0x2aeae0e9 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.103509 [ 1778 ] {1fa2425b-5c20-426b-8705-855908d91e93} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.104620 [ 1778 ] {1fa2425b-5c20-426b-8705-855908d91e93} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.322747 [ 1778 ] {e46a3c98-bced-4fe5-8d08-597b6f8e441d} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.324324 [ 1778 ] {e46a3c98-bced-4fe5-8d08-597b6f8e441d} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.541429 [ 1778 ] {40bd48e3-ad56-429e-b8ad-69de35fbea73} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.542541 [ 1778 ] {40bd48e3-ad56-429e-b8ad-69de35fbea73} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.754132 [ 1778 ] {435532bc-f045-4bb2-8eeb-41db22830f48} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.755253 [ 1778 ] {435532bc-f045-4bb2-8eeb-41db22830f48} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL RIGHT JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.960502 [ 1778 ] {938551ff-cbe8-4303-b217-727482653198} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:44.961815 [ 1778 ] {938551ff-cbe8-4303-b217-727482653198} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.185219 [ 1778 ] {7b1d9749-9275-4358-9b6a-0d2b3bbc0308} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.186743 [ 1778 ] {7b1d9749-9275-4358-9b6a-0d2b3bbc0308} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.425523 [ 1778 ] {bcf03098-2568-4678-bfcc-618651015d70} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.426814 [ 1778 ] {bcf03098-2568-4678-bfcc-618651015d70} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.627992 [ 1778 ] {d8e960b3-1f48-4db3-bfb4-a9723b8a3709} executeQuery: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38468) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:45.629150 [ 1778 ] {d8e960b3-1f48-4db3-bfb4-a9723b8a3709} TCPHandler: Code: 207. DB::Exception: JOIN test_fievdoa0.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_fievdoa0.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x2ad3d428 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3041: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0b779 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3228: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad0a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6374: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2ad15409 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x2acf5a9d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6683: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea153 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:47.141560 [ 1010 ] {2d31e5e3-16df-4707-98a1-1e93e9396099} executeQuery: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_8ewzhhsf.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54458) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM `02428_parameterized_view_test_8ewzhhsf.pv1`(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:47.143977 [ 1010 ] {2d31e5e3-16df-4707-98a1-1e93e9396099} TCPHandler: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_8ewzhhsf.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c498 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:49.033803 [ 4015 ] {34daa3cd-e3dd-47f7-9079-0ea04189ac11} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54496) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:49.034881 [ 4015 ] {34daa3cd-e3dd-47f7-9079-0ea04189ac11} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:49.989907 [ 4015 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:54512). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:51.225512 [ 1010 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:58900). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:51.814916 [ 1010 ] {f5fd556d-76a3-45e9-abf0-5403fedc5568} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: -- invalid expressions SELECT parseTimeDelta();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f109 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:51.816065 [ 1010 ] {f5fd556d-76a3-45e9-abf0-5403fedc5568} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f109 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:51.935579 [ 1010 ] {703d439b-6935-4ce4-8afb-24e054f09a97} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f242 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:51.936789 [ 1010 ] {703d439b-6935-4ce4-8afb-24e054f09a97} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f242 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:52.053558 [ 1010 ] {8673b291-1680-4fce-a6ae-2f5df62b5f15} executeQuery: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f387 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:52.054805 [ 1010 ] {8673b291-1680-4fce-a6ae-2f5df62b5f15} TCPHandler: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x2021f387 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:32:52.166359 [ 1010 ] {a5a42f66-8310-42ac-930e-3c83390847c1} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e385 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.167725 [ 1010 ] {a5a42f66-8310-42ac-930e-3c83390847c1} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e385 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.279723 [ 1010 ] {7324da70-9756-4444-a248-f400b3331244} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('-1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.280962 [ 1010 ] {7324da70-9756-4444-a248-f400b3331244} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.392624 [ 1010 ] {dd92f57f-fb71-489a-852c-b4ff62a67493} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e4fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.393899 [ 1010 ] {dd92f57f-fb71-489a-852c-b4ff62a67493} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e4fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.401820 [ 1010 ] {fcf44402-99f5-4a6d-89d4-c4abd24db283} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.403133 [ 1010 ] {fcf44402-99f5-4a6d-89d4-c4abd24db283} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.542739 [ 1010 ] {7ea0eef8-c610-42f6-9e0e-7dab7e2b9cba} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1.yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e888 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.544238 [ 1010 ] {7ea0eef8-c610-42f6-9e0e-7dab7e2b9cba} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e888 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.652411 [ 1010 ] {455edccf-5b99-453c-bf69-431a4845692e} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1-yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ec7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.653674 [ 1010 ] {455edccf-5b99-453c-bf69-431a4845692e} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ec7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.660821 [ 1010 ] {b0e3fdcd-8a2f-4e41-9c35-930dcf1d5a99} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1 1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ec7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.661885 [ 1010 ] {b0e3fdcd-8a2f-4e41-9c35-930dcf1d5a99} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ec7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.771082 [ 1010 ] {cc422a4c-d354-4af0-915e-0d4a8dcdf356} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yyr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ee73 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.772731 [ 1010 ] {cc422a4c-d354-4af0-915e-0d4a8dcdf356} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021ee73 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.780621 [ 1010 ] {4d9101f2-5f1e-4eb5-a89f-81a6d2598c24} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58924) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:52.781957 [ 1010 ] {4d9101f2-5f1e-4eb5-a89f-81a6d2598c24} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2021e6bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:32:54.166013 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx79_16125} executeQuery: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34400) (in query: alter table tt drop part 'all_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:54.167111 [ 1455 ] {02421_truncate_isolation_with_mutations_test_5cdl7q8r_tx79_16125} DynamicQueryHandler: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:32:55.922456 [ 4015 ] {cf720ff7-fc72-49fb-ad17-b427ed613eac} executeQuery: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match with the dimension in the index (3). (INCORRECT_QUERY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59030) (comment: 02354_annoy.sh) (in query: SELECT * FROM `02354_annoy_l2` ORDER BY L2Distance(embedding, [0., 0.]) ASC LIMIT 3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:256: std::vector> DB::MergeTreeIndexConditionAnnoy::getUsefulRangesImpl(std::shared_ptr) const @ 0x2c34eddd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:223: DB::MergeTreeIndexConditionAnnoy::getUsefulRanges(std::shared_ptr) const @ 0x2c34c396 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1685: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, unsigned long&, unsigned long&, DB::MarkCache*, DB::UncompressedCache*, std::shared_ptr) @ 0x2c28b1b8 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1030: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool)::$_2::operator()(unsigned long) const @ 0x2c287e67 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1082: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c285b91 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:55.923614 [ 4015 ] {cf720ff7-fc72-49fb-ad17-b427ed613eac} TCPHandler: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match with the dimension in the index (3). (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:256: std::vector> DB::MergeTreeIndexConditionAnnoy::getUsefulRangesImpl(std::shared_ptr) const @ 0x2c34eddd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:223: DB::MergeTreeIndexConditionAnnoy::getUsefulRanges(std::shared_ptr) const @ 0x2c34c396 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1685: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, unsigned long&, unsigned long&, DB::MarkCache*, DB::UncompressedCache*, std::shared_ptr) @ 0x2c28b1b8 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1030: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool)::$_2::operator()(unsigned long) const @ 0x2c287e67 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1082: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c285b91 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:58.908689 [ 4015 ] {d593bac3-6352-4a52-a8a4-389f49aa8611} executeQuery: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59142) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * EXCEPT STRICT (id, value1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2ad55264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1ee16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.023828 [ 1010 ] {d8fe6bed-9a32-4cbd-b3f0-00a5a8df7feb} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT 1 AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.024206 [ 4015 ] {d593bac3-6352-4a52-a8a4-389f49aa8611} TCPHandler: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2ad55264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1ee16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.025051 [ 1010 ] {d8fe6bed-9a32-4cbd-b3f0-00a5a8df7feb} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.033361 [ 1010 ] {f7adf477-4d8c-43bf-9763-89f9d9e505e3} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT plus(1, 1) AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.034319 [ 1010 ] {f7adf477-4d8c-43bf-9763-89f9d9e505e3} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.048286 [ 1010 ] {0fb62fe5-05dd-421f-b4bb-0e4e8663a894} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT (SELECT 1) AS subquery, 1 AS subquery;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.049489 [ 1010 ] {0fb62fe5-05dd-421f-b4bb-0e4e8663a894} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.052778 [ 4015 ] {ca84d9ff-cf7e-4070-99bc-282a291a651c} executeQuery: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59142) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2ad55264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1ee16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.054528 [ 4015 ] {ca84d9ff-cf7e-4070-99bc-282a291a651c} TCPHandler: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x2ad55264 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4184: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2ad1ee16 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5394: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acef760 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5566: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x2acedf41 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5757: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acf5f67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6692: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2acea1c3 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.175253 [ 1010 ] {5d19b2ca-a35c-47a7-aff3-2a57c7991bd3} executeQuery: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda, x -> x + 2 AS lambda SELECT lambda(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6837: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb9be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.176499 [ 1010 ] {5d19b2ca-a35c-47a7-aff3-2a57c7991bd3} TCPHandler: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6837: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb9be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.193593 [ 1010 ] {f7040527-8405-4e5a-bf08-2afc163b837e} executeQuery: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT (SELECT 1) AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.194829 [ 1010 ] {f7040527-8405-4e5a-bf08-2afc163b837e} TCPHandler: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.202605 [ 1010 ] {dcf7deeb-d2ca-40a0-98c4-284ae26df0ba} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT 1 AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.203618 [ 1010 ] {dcf7deeb-d2ca-40a0-98c4-284ae26df0ba} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.210844 [ 1010 ] {0542c313-c647-4f21-a5c8-171e78c2d9a4} executeQuery: Code: 179. DB::Exception: Multiple expressions test_7850q21l.test_table.value and test_7850q21l.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, value AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.211875 [ 1010 ] {0542c313-c647-4f21-a5c8-171e78c2d9a4} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_7850q21l.test_table.value and test_7850q21l.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.218992 [ 1010 ] {68ba752f-fe36-4613-bfd2-bf44dccd18b2} executeQuery: Code: 179. DB::Exception: Multiple expressions test_7850q21l.test_table.value and test_7850q21l.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value_1, value AS value_1 FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.220691 [ 1010 ] {68ba752f-fe36-4613-bfd2-bf44dccd18b2} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_7850q21l.test_table.value and test_7850q21l.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.228589 [ 1010 ] {c0bebe7c-9adb-47e8-912e-fd9d6a4f3138} executeQuery: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_7850q21l.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59132) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, (id + 1) AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:32:59.229601 [ 1010 ] {c0bebe7c-9adb-47e8-912e-fd9d6a4f3138} TCPHandler: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_7850q21l.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x2ad27a84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6823: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x2aceb6be in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1071: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x2ace895f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6931: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x2ace869e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:176: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x2acdb9f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:141: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aea98da in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:158: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea8c78 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5ab8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:144: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc39be in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:01.112662 [ 632 ] {ce786a02-3f83-4c08-9892-951484370d47} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59190) (comment: 02341_global_join_cte.sql) (in query: -- { echo } with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x2af53c50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2cf3dce8 in /usr/bin/clickhouse 10. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b955722 in /usr/bin/clickhouse 11. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b954abb in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b95d035 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b927827 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:01.114197 [ 632 ] {ce786a02-3f83-4c08-9892-951484370d47} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x2af53c50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2cf3dce8 in /usr/bin/clickhouse 10. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b955722 in /usr/bin/clickhouse 11. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:173: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b954abb in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b95d035 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b927827 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:02.252081 [ 1778 ] {48bf1eff-63fa-425f-8163-e609d3820ae5} executeQuery: Code: 7. DB::Exception: Annoy indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Float32), INDEX annoy_index (embedding, id) TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:398: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cd73 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:33:02.253821 [ 1778 ] {48bf1eff-63fa-425f-8163-e609d3820ae5} TCPHandler: Code: 7. DB::Exception: Annoy indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:398: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cd73 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:33:02.450225 [ 1778 ] {153b04fd-80d9-4714-92eb-615308c980ee} executeQuery: Code: 44. DB::Exception: Unexpected type Float32 of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Float32, INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:374: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34d325 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.451938 [ 1778 ] {153b04fd-80d9-4714-92eb-615308c980ee} TCPHandler: Code: 44. DB::Exception: Unexpected type Float32 of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:374: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34d325 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.626776 [ 1778 ] {503dac03-9269-4a31-8de7-e381774bb1ff} executeQuery: Code: 44. DB::Exception: Unexpected type Array(Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Float64), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.628400 [ 1778 ] {503dac03-9269-4a31-8de7-e381774bb1ff} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.805765 [ 1778 ] {42f89907-793a-437d-8c88-de3be79f271c} executeQuery: Code: 44. DB::Exception: Unexpected type Tuple(Float32, Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Tuple(Float32, Float64), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:367: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34d1ed in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.807275 [ 1778 ] {42f89907-793a-437d-8c88-de3be79f271c} TCPHandler: Code: 44. DB::Exception: Unexpected type Tuple(Float32, Float64) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:367: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34d1ed in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.829043 [ 1778 ] {2b9d93fe-5eb0-4f68-9628-3771872825f7} executeQuery: Code: 44. DB::Exception: Unexpected type Array(LowCardinality(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(LowCardinality(Float32)), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.830455 [ 1778 ] {2b9d93fe-5eb0-4f68-9628-3771872825f7} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(LowCardinality(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.850002 [ 1778 ] {ca24108b-9568-4165-a9dc-af8eb5826ce6} executeQuery: Code: 44. DB::Exception: Unexpected type Array(Nullable(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35638) (comment: 02354_annoy.sh) (in query: CREATE TABLE `02354_annoy` (`id` Int32, `embedding` Array(Nullable(Float32)), INDEX annoy_index embedding TYPE annoy(100) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 5, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 11666, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9458204973), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:02.851420 [ 1778 ] {ca24108b-9568-4165-a9dc-af8eb5826ce6} TCPHandler: Code: 44. DB::Exception: Unexpected type Array(Nullable(Float32)) of Annoy index. Only Array(Float32) and Tuple(Float32) are supported. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:355: DB::assertIndexColumnsType(DB::Block const&) @ 0x2c34cf7b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexAnnoy.cpp:401: DB::annoyIndexValidator(DB::IndexDescription const&, bool) @ 0x2c34cdb9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:33:10.428028 [ 4015 ] {d6b51da3-f82f-4ea0-b1ae-d28a6a83f1dd} executeQuery: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: -- test exceptions insert into system.zookeeper (name, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:135: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f5994a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:10.429638 [ 4015 ] {d6b51da3-f82f-4ea0-b1ae-d28a6a83f1dd} TCPHandler: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:135: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f5994a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:10.627430 [ 4015 ] {a49082bb-cd9e-44e6-8233-633df8dedbdc} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f598c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:10.628792 [ 4015 ] {a49082bb-cd9e-44e6-8233-633df8dedbdc} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f598c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:10.711455 [ 4015 ] {7ec020c5-cbaf-4a2e-913a-d80d87c35a32} executeQuery: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, version) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:164: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:10.712492 [ 4015 ] {7ec020c5-cbaf-4a2e-913a-d80d87c35a32} TCPHandler: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:164: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:10.796107 [ 4015 ] {d2f8b242-4f4d-4878-9fdb-25156e0c47a0} executeQuery: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (0c64cd8c-34af-4ef7-84a9-561b460db4a8). (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, versionxyz) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:169: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec5a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:10.797458 [ 4015 ] {d2f8b242-4f4d-4878-9fdb-25156e0c47a0} TCPHandler: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (0c64cd8c-34af-4ef7-84a9-561b460db4a8). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:169: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec5a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:11.011501 [ 4015 ] {7672cbbc-b043-4c7c-83f3-4a1bd3e117b3} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f597f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.013326 [ 4015 ] {7672cbbc-b043-4c7c-83f3-4a1bd3e117b3} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f597f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.033072 [ 4015 ] {7646f919-4c37-41f2-a9e3-bec2c477cc5a} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f597f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.034823 [ 4015 ] {7646f919-4c37-41f2-a9e3-bec2c477cc5a} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:125: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f597f6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.053887 [ 4015 ] {38f82716-10d7-4d0b-9025-105ac2a24ce0} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f598c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.055543 [ 4015 ] {38f82716-10d7-4d0b-9025-105ac2a24ce0} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:130: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f598c0 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.239076 [ 4015 ] {f9cb3f65-b497-432c-8327-83f775097a2d} executeQuery: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35834) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [66]) @ 0x1bdf843e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:140: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f599f8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.240529 [ 4015 ] {f9cb3f65-b497-432c-8327-83f775097a2d} TCPHandler: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [66]) @ 0x1bdf843e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:140: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x28f599f8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:33:11.665372 [ 5997 ] {c81ed962-17d0-41b8-979b-f44f91f8eb2e} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47840) (comment: 02315_readonly_create_function.sh) (in query: CREATE FUNCTION test_function AS (x) -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29225bc4 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:581: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922385b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:626: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x292347b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:647: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x291f0a92 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:655: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x291f0b2e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:685: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x291eb95d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29f17976 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x29efaa1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:44: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade769a in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:11.667362 [ 5997 ] {c81ed962-17d0-41b8-979b-f44f91f8eb2e} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29225bc4 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:581: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922385b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:626: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x292347b3 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:647: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x291f0a92 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:655: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x291f0b2e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:685: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x291eb95d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x29f17976 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1091: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x29efaa1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:44: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade769a in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:16.116907 [ 1010 ] {3c7ad04b-69f0-4ba9-b57e-8241d4f06ec5} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.753663976 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55006) (comment: 02293_http_header_full_summary_without_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:16.118659 [ 1010 ] {3c7ad04b-69f0-4ba9-b57e-8241d4f06ec5} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.753663976 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:33:16.295463 [ 5997 ] {ebb56093-dbfc-4854-81f0-77d89f843bf7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101635699 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47892) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:16.298875 [ 5997 ] {ebb56093-dbfc-4854-81f0-77d89f843bf7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101635699 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:16.489125 [ 4015 ] {6b64afc7-5bad-4536-a3e9-51577da40865} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.13419512 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55036) (comment: 02293_http_header_summary_contains_exception_code_with_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:16.490838 [ 4015 ] {6b64afc7-5bad-4536-a3e9-51577da40865} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.13419512 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:33:18.565927 [ 1778 ] {071b0a4f-c13e-4f61-8060-2f8570f4283e} executeQuery: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47976) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b EPHEMERAL String) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa23b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:18.566895 [ 1778 ] {071b0a4f-c13e-4f61-8060-2f8570f4283e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa23b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:18.575301 [ 1778 ] {4b3dbaee-a5ae-4f46-aab5-7c38a921ba3b} executeQuery: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter9793544523378354021, 'String') AS b, b_tmp_alter9793544523378354021', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47976) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b String EPHEMERAL test) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa23b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:18.576215 [ 1778 ] {4b3dbaee-a5ae-4f46-aab5-7c38a921ba3b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter9793544523378354021, 'String') AS b, b_tmp_alter9793544523378354021', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa23b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:18.791406 [ 632 ] {8ada15a2-34f9-49ed-ab97-3956a8fa8824} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101409444 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47948) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers SETTINGS max_execution_time=1.1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:18.794905 [ 632 ] {8ada15a2-34f9-49ed-ab97-3956a8fa8824} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101409444 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:19.959349 [ 4015 ] {7969168c-bc3c-418e-b393-320dbb652223} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101484952 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55200) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:19.962661 [ 4015 ] {7969168c-bc3c-418e-b393-320dbb652223} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101484952 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:33:33.767829 [ 1010 ] {1d36d608-8981-40c4-a388-085b5559083d} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53160) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19b62502 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19b623dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b81e2a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b81cd1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b7cf78 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b65d99 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b64cf5 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b63e5e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:33.769334 [ 1010 ] {1d36d608-8981-40c4-a388-085b5559083d} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19b62502 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19b623dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b81e2a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b81cd1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b7cf78 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b65d99 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b64cf5 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b63e5e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:33.793463 [ 1010 ] {8e1f22f6-661a-4ee6-984b-46e752b87224} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53160) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19b62502 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19b623dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b81e2a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b81cd1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b7cf78 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b65d99 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b64cf5 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b63e5e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:33.794890 [ 1010 ] {8e1f22f6-661a-4ee6-984b-46e752b87224} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:873: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x19b62502 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:880: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x19b623dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1023: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b81e2a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b81cd1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b7cf78 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b65d99 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b64cf5 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b63e5e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:34.151301 [ 1010 ] {963abf56-dde0-41d0-98f7-c254ddb48eff} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53160) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8bbdb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8babd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19bab04a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19baaef1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ba6518 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b8fab9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8ea15 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8db7e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:34.152893 [ 1010 ] {963abf56-dde0-41d0-98f7-c254ddb48eff} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8bbdb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8babd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19bab04a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19baaef1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ba6518 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b8fab9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8ea15 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8db7e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:34.174519 [ 1010 ] {aaffbdee-852b-4b52-b354-24f13fb335dc} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53160) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8bbdb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8babd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19bab04a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19baaef1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ba6518 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b8fab9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8ea15 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8db7e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:34.175982 [ 1010 ] {aaffbdee-852b-4b52-b354-24f13fb335dc} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x19b62873 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:895: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8bbdb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:902: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x19b8babd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1031: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19bab04a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19baaef1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ba6518 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b8fab9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8ea15 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b8db7e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x2cce5ed7 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 2024.03.06 01:33:35.654596 [ 1010 ] {22ccc2e0-0be0-4ff9-ba3d-50e767c7bf0e} executeQuery: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_j37oxofb: Not enough privileges. To execute this query it's necessary to have grant CLUSTER ON *.*. (ACCESS_DENIED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53254) (comment: 02250_ON_CLUSTER_grant.sh) (in query: CREATE DATABASE IF NOT EXISTS db_without_on_cluster_02250_ON_CLUSTER_grant_test_j37oxofb ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29224dfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922356a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291eb6fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29f171b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29efa4fd in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:99: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x2b3c8f01 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1682: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x2abd1659 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1695: DB::InterpreterCreateQuery::execute() @ 0x2abd7745 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:35.832132 [ 1010 ] {22ccc2e0-0be0-4ff9-ba3d-50e767c7bf0e} TCPHandler: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_j37oxofb: Not enough privileges. To execute this query it's necessary to have grant CLUSTER ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29224dfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922356a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291eb6fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29f171b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29efa4fd in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:99: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x2b3c8f01 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1682: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x2abd1659 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1695: DB::InterpreterCreateQuery::execute() @ 0x2abd7745 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:36.421670 [ 5997 ] {11d3b0e5-c5c9-4db7-bf28-4616180a2ff8} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone not a timezone (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53258) (comment: 02244_make_datetime.sql) (in query: select makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31e70340 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x221cbbfa in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x221c656a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x299b8472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x299b80ae in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x1bffbaa6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x1bffba21 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x1bffb9a7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x1bffb8d7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x1bffb806 in /usr/bin/clickhouse 12. /build/src/Functions/makeDate.cpp:258: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1eb511ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:33:36.422841 [ 5997 ] {11d3b0e5-c5c9-4db7-bf28-4616180a2ff8} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone not a timezone. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31e70340 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x221cbbfa in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x221c656a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x299b8472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x299b80ae in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x1bffbaa6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x1bffba21 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x1bffb9a7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x1bffb8d7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x1bffb806 in /usr/bin/clickhouse 12. /build/src/Functions/makeDate.cpp:258: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x1eb511ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:33:47.998846 [ 1010 ] {6b249da4-5bc1-40fe-b243-3f91cfaf58e0} executeQuery: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47194) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible const - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS 'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19892707 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d4d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bf39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 2024.03.06 01:33:48.001278 [ 1010 ] {6b249da4-5bc1-40fe-b243-3f91cfaf58e0} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19892707 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d4d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bf39 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 2024.03.06 01:33:48.159403 [ 1010 ] {0570c397-6088-435d-acdc-20efbc903f6f} executeQuery: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47194) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS inter||'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1c01b791 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afbf in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:290: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x2cf4630a in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:444: DB::FillingTransform::transform(DB::Chunk&) @ 0x2cf46d7f in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:33:48.161525 [ 1010 ] {0570c397-6088-435d-acdc-20efbc903f6f} TCPHandler: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:149: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x1c01bc2f in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:111: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x1c01b791 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:82: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c01afbf in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:290: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x2cf4630a in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:444: DB::FillingTransform::transform(DB::Chunk&) @ 0x2cf46d7f in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:33:48.340902 [ 1010 ] {2947ec93-06ff-4f8f-9bf1-7e370fbab649} executeQuery: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47194) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with column from WITH FILL expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (n AS n);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:186: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x2cf4311e in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf427b9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf42551 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf42257 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, std::shared_ptr, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf420ca in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf414b6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:45: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2cf4121d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41187 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41145 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41105 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x2cf410ac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x2994bf68 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2994bee4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x29938b2e in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x29938a16 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x299678ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:40: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf40b82 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d7fc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:33:48.342629 [ 1010 ] {2947ec93-06ff-4f8f-9bf1-7e370fbab649} TCPHandler: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:186: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, std::shared_ptr) @ 0x2cf4311e in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf427b9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf42551 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>(std::allocator, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf42257 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, std::shared_ptr, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf420ca in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], void>(DB::Block const&, DB::SortDescription&, std::shared_ptr&&) @ 0x2cf414b6 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:45: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2cf4121d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41187 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41145 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x2cf41105 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x2cf410ac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x2994bf68 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x2994bee4 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_1::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x29938b2e in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x29938a16 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:135: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x299678ee in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:40: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf40b82 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d7fc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:33:48.458887 [ 1010 ] {e7823a5d-ca2d-46dc-b903-c0425d0dddb6} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47194) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with inconsistent column - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS source);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.h:122: DB::throwReadAfterEOF() @ 0x198086d1 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:334: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x198929a4 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:475: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x198928fd in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1170: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x198928bd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:982: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19892801 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x198926b1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d4d8 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bf39 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 2024.03.06 01:33:48.461473 [ 1010 ] {e7823a5d-ca2d-46dc-b903-c0425d0dddb6} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.h:122: DB::throwReadAfterEOF() @ 0x198086d1 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:334: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x198929a4 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:475: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x198928fd in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1170: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x198928bd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:982: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19892801 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x198926b1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1988d4d8 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1987bf39 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987b268 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1987a47e in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 2024.03.06 01:33:49.183600 [ 632 ] {d2e68b7c-3d30-49bb-b298-7f0d187a0f9a} ReadWriteBufferFromHTTP: Unable to read with range header: [0, 84] 2024.03.06 01:33:50.747637 [ 1123 ] {cc3da9cf-4cb3-416e-9391-f83a272f1082} ReadWriteBufferFromHTTP: HTTP request to `http://[2001:3984:3989::242:ac11:2]:38795/` failed at try 1/10 with bytes read: 20/29. (Current backoff wait is 100/10000 ms) 2024.03.06 01:33:50.749185 [ 2715 ] {cc3da9cf-4cb3-416e-9391-f83a272f1082} ReadWriteBufferFromHTTP: HTTP request to `http://[2001:3984:3989::242:ac11:2]:38795/` failed at try 1/10 with bytes read: 30/39. Error: DB::HTTPException: Received error from remote server /. HTTP status code: 500 Internal Server Error, body: ": 5480124. (Current backoff wait is 100/10000 ms) 2024.03.06 01:33:53.825210 [ 5997 ] {f30987f7-b6ca-4e9c-9b26-236e6db6db3c} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48328) (comment: 02224_parallel_distributed_insert_select_cluster.sql) (in query: insert into function cluster('test_cluster_two_shards', currentDatabase(), dst_02224, key) select * from cluster('test_cluster_two_shards', currentDatabase(), src_02224, key) settings parallel_distributed_insert_select=1, max_distributed_depth=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1359: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b92c1c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2adeddc2 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:1263: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x2b92ad35 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1385: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b92c4f2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2adeddc2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:53.826164 [ 5997 ] {f30987f7-b6ca-4e9c-9b26-236e6db6db3c} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1359: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b92c1c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2adeddc2 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:1263: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x2b92ad35 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1385: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x2b92c4f2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:353: DB::InterpreterInsertQuery::execute() @ 0x2adeddc2 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:54.236769 [ 5997 ] {2a5991c8-d7d5-4452-9710-a76d2c7fd1de} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48344) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:54.237557 [ 5997 ] {2a5991c8-d7d5-4452-9710-a76d2c7fd1de} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:33:55.650588 [ 1010 ] {03182712-2ae5-462d-9787-99643fb69526} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48360) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d65da6c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d65d2e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 2024.03.06 01:33:55.652101 [ 1010 ] {03182712-2ae5-462d-9787-99643fb69526} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d65da6c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d65d2e8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 2024.03.06 01:33:55.813447 [ 1010 ] {d4fa0b16-09a8-44e5-af8f-79239c80bf97} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48360) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d65da6c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d65ed68 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 2024.03.06 01:33:55.815041 [ 1010 ] {d4fa0b16-09a8-44e5-af8f-79239c80bf97} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x1d65da6c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d65ed68 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:200: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291250bc in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:242: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b8a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 2024.03.06 01:33:56.287550 [ 1010 ] {52ad7a7d-0e2b-40be-aad3-25a31d84fbd0} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48360) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x1d680d48 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6801ce in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:33:56.289240 [ 1010 ] {52ad7a7d-0e2b-40be-aad3-25a31d84fbd0} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x1d680d48 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6801ce in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:34:03.037466 [ 5997 ] {b46b697d-040a-4846-abad-eb438e0e3972} executeQuery: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE distributed_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.038524 [ 5997 ] {b46b697d-040a-4846-abad-eb438e0e3972} TCPHandler: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.073145 [ 5997 ] {2432c8de-6626-4987-adbb-7a11d8b1062a} executeQuery: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE buffer_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.073963 [ 5997 ] {2432c8de-6626-4987-adbb-7a11d8b1062a} TCPHandler: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.101864 [ 5997 ] {cea3f803-931d-4741-b314-24d5ba72c6b5} executeQuery: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE merge_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.102655 [ 5997 ] {cea3f803-931d-4741-b314-24d5ba72c6b5} TCPHandler: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.127639 [ 5997 ] {9a3d85da-a0b3-418d-9fbd-1a5a311dcb1b} executeQuery: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE null_02184 MODIFY COLUMN dummy Int TTL now() + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.128702 [ 5997 ] {9a3d85da-a0b3-418d-9fbd-1a5a311dcb1b} TCPHandler: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.164002 [ 5997 ] {95e28012-619a-46e5-90c3-0a719b3ee4ae} executeQuery: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE file_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.165019 [ 5997 ] {95e28012-619a-46e5-90c3-0a719b3ee4ae} TCPHandler: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.193278 [ 5997 ] {6a350421-63d8-47e0-a9e5-345ae59a51a9} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE memory_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.194044 [ 5997 ] {6a350421-63d8-47e0-a9e5-345ae59a51a9} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.223093 [ 5997 ] {e48de92e-bfb0-4c83-ad9c-5ac1262968ee} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.223918 [ 5997 ] {e48de92e-bfb0-4c83-ad9c-5ac1262968ee} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.253605 [ 5997 ] {2cf42e0c-ae7c-4764-9a05-a612ccabdad0} executeQuery: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE ting_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.254623 [ 5997 ] {2cf42e0c-ae7c-4764-9a05-a612ccabdad0} TCPHandler: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.288863 [ 5997 ] {0038dec0-28db-46e3-b872-05831da2e147} executeQuery: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33992) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE stripe_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:03.289681 [ 5997 ] {0038dec0-28db-46e3-b872-05831da2e147} TCPHandler: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1059: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e536 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.028379 [ 1010 ] {b4f0b476-f7ec-4965-8925-d0f402f1b5b8} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34038) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.029444 [ 1010 ] {b4f0b476-f7ec-4965-8925-d0f402f1b5b8} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.036044 [ 1010 ] {0043e8a4-f3e9-4a48-a106-3bba7be5d8f1} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34038) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.036807 [ 1010 ] {0043e8a4-f3e9-4a48-a106-3bba7be5d8f1} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.042316 [ 1010 ] {de73602e-13bf-4c0e-850f-820a4a75f56d} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34038) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.043183 [ 1010 ] {de73602e-13bf-4c0e-850f-820a4a75f56d} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.049505 [ 1010 ] {299714fd-9262-46ad-b63e-4c8488aa648d} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34038) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(tuple(x)) --{serverError 1} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:04.050499 [ 1010 ] {299714fd-9262-46ad-b63e-4c8488aa648d} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [36]) @ 0x1b47a9fe in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d097ea5 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:05.562151 [ 1010 ] {9479e28b-7e42-4fd8-aef1-35eea6331a8d} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary test_2t7o48gz.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34056) (comment: 02181_dictionary_attach_detach.sql) (in query: DETACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b9198e4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:163: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x2b9199f5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77199 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:05.563114 [ 1010 ] {9479e28b-7e42-4fd8-aef1-35eea6331a8d} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary test_2t7o48gz.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b9198e4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:163: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x2b9199f5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77199 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:05.644787 [ 1010 ] {34393604-536e-4096-9d7e-d79a4fbbae17} executeQuery: Code: 80. DB::Exception: Cannot ATTACH TABLE test_2t7o48gz.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34056) (comment: 02181_dictionary_attach_detach.sql) (in query: ATTACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1120: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcde36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:05.645683 [ 1010 ] {34393604-536e-4096-9d7e-d79a4fbbae17} TCPHandler: Code: 80. DB::Exception: Cannot ATTACH TABLE test_2t7o48gz.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1120: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcde36 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:06.222162 [ 632 ] {9503063e-038d-449b-bf7f-127fb97f3a70} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55930) (comment: 02192_comment_error.sh) (in query: select 42 #), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d4ee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:06.223481 [ 632 ] {9503063e-038d-449b-bf7f-127fb97f3a70} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d4ee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:07.950250 [ 1778 ] {996428a3-d66b-4349-a1d2-1cc7a59b3b41} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:07.951784 [ 1778 ] {996428a3-d66b-4349-a1d2-1cc7a59b3b41} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.210197 [ 8094 ] {c902cef5-d569-4efd-968c-5adce19055f9} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34088) (comment: 02177_sum_if_not_found.sql) (in query: SELECT sumIF(1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x222e772c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cfcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:34:08.211777 [ 8094 ] {c902cef5-d569-4efd-968c-5adce19055f9} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x222e772c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cfcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:34:08.391804 [ 8094 ] {38b8ab24-e299-4f66-a659-f3106888d77e} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34088) (comment: 02177_sum_if_not_found.sql) (in query: CREATE TABLE agg ENGINE = AggregatingMergeTree ORDER BY tuple() SETTINGS index_granularity = 30053, min_bytes_for_wide_part = 937593396, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 17452, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 7230458780, index_granularity_bytes = 18971069 AS SELECT t, sumIF(n, 0) FROM data GROUP BY t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x222e772c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cfcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9b86 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:34:08.392294 [ 1778 ] {0375b4c0-63c7-4a3e-9854-eab4fa5f4b01} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.393358 [ 8094 ] {38b8ab24-e299-4f66-a659-f3106888d77e} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x222e772c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cfcc in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9b86 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:34:08.394352 [ 1778 ] {0375b4c0-63c7-4a3e-9854-eab4fa5f4b01} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.448218 [ 1778 ] {ff5645ed-62e8-4d63-bbfd-5b1fdc3f65bf} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.449581 [ 1778 ] {ff5645ed-62e8-4d63-bbfd-5b1fdc3f65bf} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.507885 [ 1778 ] {daf7b7ab-74f4-43c4-8cec-1246fd716c3d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.508968 [ 1778 ] {daf7b7ab-74f4-43c4-8cec-1246fd716c3d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.931199 [ 1778 ] {0c0c8d3c-69d0-4d41-a62f-a74da0d1ec1e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:08.932565 [ 1778 ] {0c0c8d3c-69d0-4d41-a62f-a74da0d1ec1e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.361533 [ 1778 ] {71d632b6-0782-4781-9ccd-50dc0fe62263} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.363036 [ 1778 ] {71d632b6-0782-4781-9ccd-50dc0fe62263} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.420226 [ 1778 ] {6e7bac6f-af35-49cd-a990-bf60f99bb956} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.421635 [ 1778 ] {6e7bac6f-af35-49cd-a990-bf60f99bb956} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.474325 [ 1778 ] {d7a1417f-ba26-4409-9768-dced3971bab1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.475766 [ 1778 ] {d7a1417f-ba26-4409-9768-dced3971bab1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.960748 [ 1778 ] {3379a6e6-748a-4407-b293-3fdb8355480c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:09.961924 [ 1778 ] {3379a6e6-748a-4407-b293-3fdb8355480c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.372228 [ 1778 ] {a21b5fb3-5f6f-408e-9e03-cad0a9e1604b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.373370 [ 1778 ] {a21b5fb3-5f6f-408e-9e03-cad0a9e1604b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.433048 [ 1778 ] {b7f8ada5-d84d-40e4-963c-68f4b16ac578} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.434426 [ 1778 ] {b7f8ada5-d84d-40e4-963c-68f4b16ac578} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.484222 [ 1778 ] {673f8262-f8ab-471b-a298-cb9131d6257a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.485486 [ 1778 ] {673f8262-f8ab-471b-a298-cb9131d6257a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.662543 [ 1779 ] {a1a0898e-89c8-490b-898d-e3dae56c65be} executeQuery: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34120) (comment: 02158_proportions_ztest.sql) (in query: SELECT NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x21232b9d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:34:10.664570 [ 1779 ] {a1a0898e-89c8-490b-898d-e3dae56c65be} TCPHandler: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x21232b9d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:34:10.916380 [ 1778 ] {faf29679-ca30-4e24-b7a2-3cdf0942cde6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:10.917700 [ 1778 ] {faf29679-ca30-4e24-b7a2-3cdf0942cde6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.316152 [ 1778 ] {df7142cf-d008-4bce-b774-77a59e63ebf1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.317259 [ 1778 ] {df7142cf-d008-4bce-b774-77a59e63ebf1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.368798 [ 1778 ] {58557e0b-8eef-4dc3-ab0f-9e2c7cb95076} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.369960 [ 1778 ] {58557e0b-8eef-4dc3-ab0f-9e2c7cb95076} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.418863 [ 1778 ] {45d6d9d3-7a93-4a69-8279-fc37b9d0d0e1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.419996 [ 1778 ] {45d6d9d3-7a93-4a69-8279-fc37b9d0d0e1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.813081 [ 1778 ] {58a5c671-eaf9-42a8-ba41-d18115734b6c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:11.814180 [ 1778 ] {58a5c671-eaf9-42a8-ba41-d18115734b6c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.239635 [ 1778 ] {819c069b-766b-4e62-80ba-3a60b0f04cbb} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.240720 [ 1778 ] {819c069b-766b-4e62-80ba-3a60b0f04cbb} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.293776 [ 1778 ] {362dc7d8-3018-4cac-8882-195fb29d5e3a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.295231 [ 1778 ] {362dc7d8-3018-4cac-8882-195fb29d5e3a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.341073 [ 1778 ] {f1dd7de1-aadc-4216-8f5a-2ff147e28801} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.342141 [ 1778 ] {f1dd7de1-aadc-4216-8f5a-2ff147e28801} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.688457 [ 1778 ] {9ef1b0f8-2cbb-4ff6-88fc-51717609a37c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:12.689758 [ 1778 ] {9ef1b0f8-2cbb-4ff6-88fc-51717609a37c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.085757 [ 1778 ] {6ec940f7-02f4-4832-86af-c40feca86ec1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.086826 [ 1778 ] {6ec940f7-02f4-4832-86af-c40feca86ec1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.136320 [ 1778 ] {162232eb-9e0d-43c1-a5c8-d15b51759663} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.137391 [ 1778 ] {162232eb-9e0d-43c1-a5c8-d15b51759663} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.202547 [ 1778 ] {2649c5f8-cdac-40e2-97f8-90a5269d717d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.204088 [ 1778 ] {2649c5f8-cdac-40e2-97f8-90a5269d717d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.572696 [ 1778 ] {cab5aa2d-d689-4218-82d6-36300bf2cc6b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.574142 [ 1778 ] {cab5aa2d-d689-4218-82d6-36300bf2cc6b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.941514 [ 1778 ] {1c230f1f-3c7e-4e6a-8a0f-caac2b22227c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.942719 [ 1778 ] {1c230f1f-3c7e-4e6a-8a0f-caac2b22227c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.994264 [ 1778 ] {5b1b9d3c-9c5d-4e65-a9ac-8051fc9d9508} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:13.997388 [ 1778 ] {5b1b9d3c-9c5d-4e65-a9ac-8051fc9d9508} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.042562 [ 1778 ] {fa2b8cd4-d35e-4597-8652-882693a7849d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.044033 [ 1778 ] {fa2b8cd4-d35e-4597-8652-882693a7849d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.432690 [ 1778 ] {58442bb1-730b-421c-807f-805ac781223c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.433916 [ 1778 ] {58442bb1-730b-421c-807f-805ac781223c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.808041 [ 1778 ] {6d1d61d8-e49e-4b2f-895c-79e06787c2eb} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.809298 [ 1778 ] {6d1d61d8-e49e-4b2f-895c-79e06787c2eb} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.869605 [ 1778 ] {1798e9c6-2b9f-4e69-83c0-9b2dec4a626b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.870864 [ 1778 ] {1798e9c6-2b9f-4e69-83c0-9b2dec4a626b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.919657 [ 1778 ] {6c9d8084-d538-42bc-b571-3e4a9e20c7c1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:14.920868 [ 1778 ] {6c9d8084-d538-42bc-b571-3e4a9e20c7c1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.330082 [ 1778 ] {4bd897f9-cf9c-4e82-99d2-19661c93e4b7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.331279 [ 1778 ] {4bd897f9-cf9c-4e82-99d2-19661c93e4b7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.767315 [ 1778 ] {ba74b2fd-c0df-4605-84a5-47a822230d9f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.768370 [ 1778 ] {ba74b2fd-c0df-4605-84a5-47a822230d9f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.848493 [ 1778 ] {8f70f874-159e-45ba-a3ca-14bd77e29b28} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.849722 [ 1778 ] {8f70f874-159e-45ba-a3ca-14bd77e29b28} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.898454 [ 1778 ] {e903bf29-4d02-4cbd-aec8-1b67c8ac4c99} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:15.899492 [ 1778 ] {e903bf29-4d02-4cbd-aec8-1b67c8ac4c99} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.269405 [ 1778 ] {bc9990ba-52b6-486f-8b15-b2e85fc5c64d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.270585 [ 1778 ] {bc9990ba-52b6-486f-8b15-b2e85fc5c64d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.614264 [ 1778 ] {34defeba-5815-44ac-95ca-f98a4be8391e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.615533 [ 1778 ] {34defeba-5815-44ac-95ca-f98a4be8391e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.674211 [ 1778 ] {b89acfd8-4a23-4bba-ab1a-bdbccc7b28ad} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.675861 [ 1778 ] {b89acfd8-4a23-4bba-ab1a-bdbccc7b28ad} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.729832 [ 1778 ] {721ebc12-d223-4864-820c-a076f934aec7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:16.731095 [ 1778 ] {721ebc12-d223-4864-820c-a076f934aec7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.107094 [ 5997 ] {04b748ab-5bec-4d63-88c3-64c64297d1b2} executeQuery: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46080) (comment: 02146_mv_non_phys.sql) (in query: CREATE MATERIALIZED VIEW mv_02146 ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 13883, min_bytes_for_wide_part = 776699577, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 696, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 60027 AS SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x2b9147d6 in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x2b913e3c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e3492 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:34:17.108594 [ 5997 ] {04b748ab-5bec-4d63-88c3-64c64297d1b2} TCPHandler: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x2b9147d6 in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x2b913e3c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e3492 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:34:17.181742 [ 1778 ] {0a36166f-802c-42b7-9789-7535fb929b3c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.183195 [ 1778 ] {0a36166f-802c-42b7-9789-7535fb929b3c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.599162 [ 1778 ] {155fff78-52d8-471d-aaaf-a25214da3367} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.600401 [ 1778 ] {155fff78-52d8-471d-aaaf-a25214da3367} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.649471 [ 1778 ] {fb6bb7ec-84d7-4dd5-835a-b17e54247b1c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.650584 [ 1778 ] {fb6bb7ec-84d7-4dd5-835a-b17e54247b1c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.702954 [ 1778 ] {036af42f-b0c3-4695-80da-57b027d9c617} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:17.704140 [ 1778 ] {036af42f-b0c3-4695-80da-57b027d9c617} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.053969 [ 1778 ] {53990e64-826b-4243-b7af-3689bd7a93d8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.055072 [ 1778 ] {53990e64-826b-4243-b7af-3689bd7a93d8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.395884 [ 1778 ] {459d1078-7595-44f2-a9f0-b93d511d1cf7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.397045 [ 1778 ] {459d1078-7595-44f2-a9f0-b93d511d1cf7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.459089 [ 1778 ] {4651215b-49cb-432b-a583-899805f4097a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.460245 [ 1778 ] {4651215b-49cb-432b-a583-899805f4097a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.509429 [ 1778 ] {c947bd5d-799b-4f34-9a62-dca19a5548b2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.510547 [ 1778 ] {c947bd5d-799b-4f34-9a62-dca19a5548b2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.917708 [ 1778 ] {a94414eb-902d-4fe8-8c95-963d2219a9d8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:18.918807 [ 1778 ] {a94414eb-902d-4fe8-8c95-963d2219a9d8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.279082 [ 1778 ] {a8d8f98a-b0b4-42eb-99ba-3f149ecaecb9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.280373 [ 1778 ] {a8d8f98a-b0b4-42eb-99ba-3f149ecaecb9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.335173 [ 1778 ] {42736951-2489-450a-ae06-6beb44ec4f72} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.336568 [ 1778 ] {42736951-2489-450a-ae06-6beb44ec4f72} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.390138 [ 1778 ] {3250664c-a079-48cf-87aa-e20144632584} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.391467 [ 1778 ] {3250664c-a079-48cf-87aa-e20144632584} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.759379 [ 1778 ] {e788c89c-13dc-4646-b224-93064cc3d238} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:19.760670 [ 1778 ] {e788c89c-13dc-4646-b224-93064cc3d238} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.136155 [ 1778 ] {b7bb89d5-b9f8-496a-b1e4-e0cab90e0bd6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.137381 [ 1778 ] {b7bb89d5-b9f8-496a-b1e4-e0cab90e0bd6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.184091 [ 1778 ] {4a5181d6-787c-46a3-b634-57835f066859} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.185369 [ 1778 ] {4a5181d6-787c-46a3-b634-57835f066859} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.241466 [ 1778 ] {31ef32b5-2c3b-41ae-8df0-5321bcc14122} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.243135 [ 1778 ] {31ef32b5-2c3b-41ae-8df0-5321bcc14122} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.657339 [ 1778 ] {a80d1a72-4174-4d77-9bd7-3990e90eb9c6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:20.658590 [ 1778 ] {a80d1a72-4174-4d77-9bd7-3990e90eb9c6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.033101 [ 1778 ] {ac633ce2-d753-4acc-9c76-e62703b3581f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.034961 [ 1778 ] {ac633ce2-d753-4acc-9c76-e62703b3581f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.099486 [ 1778 ] {357fcac3-4787-413c-a891-c0dac6ecb18d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.101842 [ 1778 ] {357fcac3-4787-413c-a891-c0dac6ecb18d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.152223 [ 1778 ] {b98fbbf2-a356-410e-ad48-aaf75738746b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.153590 [ 1778 ] {b98fbbf2-a356-410e-ad48-aaf75738746b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.552228 [ 5997 ] {15e66533-370f-4d6c-87ee-a995ceaf6061} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 9568256 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x22393d91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:121: DB::PeekableReadBuffer::peekNext() @ 0x2228e356 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:198: DB::PeekableReadBuffer::nextImpl() @ 0x2228ec56 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:100: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x2c84f562 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x2c84fa95 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:100: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x2c8590a1 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c84e34d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c84d3b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1109: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x2c7b3ead in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:784: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ae747 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:21.552388 [ 1010 ] {1941b316-2810-45ee-b404-b0443350919d} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 8650752 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x22393d91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:121: DB::PeekableReadBuffer::peekNext() @ 0x2228e356 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:198: DB::PeekableReadBuffer::nextImpl() @ 0x2228ec56 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:100: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x2c84f562 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x2c84fa95 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:100: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x2c8590a1 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c84e34d in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x2c84d3b1 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1109: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x2c7b3ead in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:784: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ae747 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:21.552567 [ 1778 ] {77f76728-f7e4-43bd-a42f-8aaec7d7ba57} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.616430 [ 5997 ] {15e66533-370f-4d6c-87ee-a995ceaf6061} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9961472 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x22393d91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c7afebb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b294b in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:21.616475 [ 1010 ] {1941b316-2810-45ee-b404-b0443350919d} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9175040 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x22393d91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c7afebb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b294b in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:21.616776 [ 1778 ] {77f76728-f7e4-43bd-a42f-8aaec7d7ba57} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:21.795766 [ 1010 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1f8d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31ca2624 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31ca31bf in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31caae5e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31ca6cb2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31c815ce in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31c70a0d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31c713da in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71b61 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71ba0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c85772d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576b9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c85752e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x1973de54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x1973ddf9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c7bb00c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c851b7b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c8516b8 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:21.796419 [ 5997 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1f8d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31ca2624 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31ca31bf in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31caae5e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31ca6cb2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31c815ce in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31c70a0d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31c713da in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71b61 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71ba0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c85772d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576b9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c85752e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x1973de54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x1973ddf9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c7bb00c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c851b7b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c8516b8 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:34:22.036980 [ 1778 ] {1467c89c-eb5c-4799-99ee-f2791effe3d8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.038155 [ 1778 ] {1467c89c-eb5c-4799-99ee-f2791effe3d8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.087593 [ 1778 ] {5e0cde52-fdbe-43ef-94f7-3c9cbc82e6bf} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.089119 [ 1778 ] {5e0cde52-fdbe-43ef-94f7-3c9cbc82e6bf} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.132293 [ 1778 ] {960010da-9f4d-4fd7-bcb1-ed1564253c58} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.133452 [ 1778 ] {960010da-9f4d-4fd7-bcb1-ed1564253c58} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.525383 [ 1778 ] {39b36587-302c-4971-8768-bb13c032a912} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.526596 [ 1778 ] {39b36587-302c-4971-8768-bb13c032a912} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.896950 [ 1778 ] {fd6b0ccb-b200-4b75-bb0f-eeaa52c915b0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.898552 [ 1778 ] {fd6b0ccb-b200-4b75-bb0f-eeaa52c915b0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.958740 [ 1778 ] {4997047b-b7ad-4191-af3c-a88be9090c60} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:22.960710 [ 1778 ] {4997047b-b7ad-4191-af3c-a88be9090c60} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.012691 [ 1778 ] {42f4c941-8499-4707-b7e4-d491638362f8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.014116 [ 1778 ] {42f4c941-8499-4707-b7e4-d491638362f8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.387770 [ 1778 ] {860c71e3-07b2-4cc0-83cf-648cd18aa220} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.389008 [ 1778 ] {860c71e3-07b2-4cc0-83cf-648cd18aa220} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.710509 [ 1778 ] {f5048bfb-6366-4890-bdf7-5ffbb998c4c5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.711665 [ 1778 ] {f5048bfb-6366-4890-bdf7-5ffbb998c4c5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.755525 [ 1778 ] {db8d82b7-e42d-4b08-a470-f65a61e8bcf0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.756830 [ 1778 ] {db8d82b7-e42d-4b08-a470-f65a61e8bcf0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.800528 [ 1778 ] {6319d654-a43e-4f11-8e48-1027fa37c9e9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:23.801604 [ 1778 ] {6319d654-a43e-4f11-8e48-1027fa37c9e9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.190046 [ 1778 ] {2821de38-7cd4-4891-b461-39dfb65b44f2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.191320 [ 1778 ] {2821de38-7cd4-4891-b461-39dfb65b44f2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.520310 [ 1778 ] {ab4ae1dc-786d-4461-a937-84288271ad42} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.522140 [ 1778 ] {ab4ae1dc-786d-4461-a937-84288271ad42} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.567371 [ 1778 ] {12947dbd-0a71-4de1-9ee9-f0287df9f91d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.568525 [ 1778 ] {12947dbd-0a71-4de1-9ee9-f0287df9f91d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.610577 [ 1778 ] {ae332b6f-5ce0-4148-8132-c971eab6fa59} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:24.611955 [ 1778 ] {ae332b6f-5ce0-4148-8132-c971eab6fa59} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.069861 [ 1778 ] {a6fabe3e-9dc5-4e47-91a7-78ace5d12580} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.071095 [ 1778 ] {a6fabe3e-9dc5-4e47-91a7-78ace5d12580} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.398145 [ 1778 ] {e405863c-d9d7-4dc3-b681-19cacfd9b761} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.399295 [ 1778 ] {e405863c-d9d7-4dc3-b681-19cacfd9b761} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.443859 [ 1778 ] {dfb3df5e-2182-4abc-9e08-9d86a379a467} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.445272 [ 1778 ] {dfb3df5e-2182-4abc-9e08-9d86a379a467} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.487944 [ 1778 ] {86d2c423-fe9b-4e08-9be1-547325fe8cae} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.489299 [ 1778 ] {86d2c423-fe9b-4e08-9be1-547325fe8cae} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.883391 [ 1778 ] {0c411002-873a-4aae-8fc8-76a4c34c9a3d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:25.884582 [ 1778 ] {0c411002-873a-4aae-8fc8-76a4c34c9a3d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.284709 [ 1778 ] {6cc3d47e-1dae-40b8-a0cc-2f8d5f933c84} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.285851 [ 1778 ] {6cc3d47e-1dae-40b8-a0cc-2f8d5f933c84} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.331128 [ 1778 ] {7999989c-b83b-40e7-8ec0-4fef7813aec1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.332405 [ 1778 ] {7999989c-b83b-40e7-8ec0-4fef7813aec1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.377472 [ 1778 ] {9585895e-6f5f-4fe8-9f85-8d2573a8b8e9} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.378589 [ 1778 ] {9585895e-6f5f-4fe8-9f85-8d2573a8b8e9} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.676250 [ 1778 ] {1992d0d3-3256-400a-9665-8a26e8d9d7f5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:26.677357 [ 1778 ] {1992d0d3-3256-400a-9665-8a26e8d9d7f5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.014711 [ 1778 ] {e70f4175-3586-477f-8dcc-5f3507e516b5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.016175 [ 1778 ] {e70f4175-3586-477f-8dcc-5f3507e516b5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.065990 [ 1778 ] {580cf0b4-f1c9-422c-adcf-a841597255c5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.067649 [ 1778 ] {580cf0b4-f1c9-422c-adcf-a841597255c5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.111998 [ 1778 ] {622b11f5-6f78-489f-941b-bfaba61a8158} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.113077 [ 1778 ] {622b11f5-6f78-489f-941b-bfaba61a8158} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.462952 [ 1778 ] {84d22498-3ff6-49d1-b025-f4b3ad24d2ce} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.464002 [ 1778 ] {84d22498-3ff6-49d1-b025-f4b3ad24d2ce} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.934071 [ 1778 ] {5a8524d3-1320-42d6-84ea-7d7e00a5ade0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.934049 [ 5997 ] {2cfcc1cd-635d-4539-8bd9-d63c1c08e7ca} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35214) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.935239 [ 1778 ] {5a8524d3-1320-42d6-84ea-7d7e00a5ade0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.935634 [ 5997 ] {2cfcc1cd-635d-4539-8bd9-d63c1c08e7ca} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.943556 [ 5997 ] {b8893daa-e114-4203-8509-aee3e7c751ef} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35214) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.944912 [ 5997 ] {b8893daa-e114-4203-8509-aee3e7c751ef} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.951952 [ 5997 ] {29bbdcf1-76cc-44da-9bff-5af47e29cfe2} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35214) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.953753 [ 5997 ] {29bbdcf1-76cc-44da-9bff-5af47e29cfe2} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:27.977009 [ 1778 ] {a4350edc-5327-4cbf-9070-94faab7362e0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:27.978074 [ 1778 ] {a4350edc-5327-4cbf-9070-94faab7362e0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.034789 [ 1778 ] {de057515-7056-4f63-b6d0-a428ee2bb4c2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.036396 [ 1778 ] {de057515-7056-4f63-b6d0-a428ee2bb4c2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.378016 [ 1778 ] {cce565c1-31ea-4d26-8aec-79723c116b9d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.379601 [ 1778 ] {cce565c1-31ea-4d26-8aec-79723c116b9d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.711517 [ 1778 ] {ad644fa4-12bb-413f-ac3c-cc4201ab1f60} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.712680 [ 1778 ] {ad644fa4-12bb-413f-ac3c-cc4201ab1f60} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.756231 [ 1778 ] {383f6395-0d44-4ef9-8312-8d51f0dac2d8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.757381 [ 1778 ] {383f6395-0d44-4ef9-8312-8d51f0dac2d8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.796966 [ 1778 ] {4ed56589-b8ee-4f52-8919-1cad910a0aec} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:28.798139 [ 1778 ] {4ed56589-b8ee-4f52-8919-1cad910a0aec} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.155563 [ 1778 ] {246ec1de-2057-4428-900d-2e28b0f5803d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.157297 [ 1778 ] {246ec1de-2057-4428-900d-2e28b0f5803d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.275484 [ 5997 ] {1bb900c8-9e6b-43b2-a109-547182970223} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35234) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.276545 [ 5997 ] {1bb900c8-9e6b-43b2-a109-547182970223} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.463469 [ 5997 ] {3f208727-837f-4513-87a6-e20a0eb0196f} executeQuery: Code: 44. DB::Exception: Illegal column Decimal32 of elements of array of third argument of function transform, must be UInt8: While processing transform(1, [1], [toDecimal32(1, 2)]). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35246) (comment: 02125_transform_decimal_bug.sql) (in query: SELECT transform(1, [1], [toDecimal32(1, 2)]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:223: bool DB::(anonymous namespace)::FunctionTransform::executeNum(DB::IColumn const*, DB::IColumn*, DB::IColumn const*) const @ 0x20faeb10 in /usr/bin/clickhouse 7. /build/src/Functions/transform.cpp:180: DB::(anonymous namespace)::FunctionTransform::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20fa9e25 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:34:29.464856 [ 5997 ] {3f208727-837f-4513-87a6-e20a0eb0196f} TCPHandler: Code: 44. DB::Exception: Illegal column Decimal32 of elements of array of third argument of function transform, must be UInt8: While processing transform(1, [1], [toDecimal32(1, 2)]). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:223: bool DB::(anonymous namespace)::FunctionTransform::executeNum(DB::IColumn const*, DB::IColumn*, DB::IColumn const*) const @ 0x20faeb10 in /usr/bin/clickhouse 7. /build/src/Functions/transform.cpp:180: DB::(anonymous namespace)::FunctionTransform::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20fa9e25 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:34:29.511710 [ 1778 ] {24ca34d3-83a8-4222-a94d-6894b5df8c79} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.512857 [ 1778 ] {24ca34d3-83a8-4222-a94d-6894b5df8c79} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.572660 [ 1778 ] {86ece178-9f19-4d85-a9b3-81fa0d0be311} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.573946 [ 1778 ] {86ece178-9f19-4d85-a9b3-81fa0d0be311} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.609882 [ 1778 ] {e5f85d58-c9ee-41b6-8769-8578572bdeb0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.611086 [ 1778 ] {e5f85d58-c9ee-41b6-8769-8578572bdeb0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.921833 [ 1778 ] {55cd90df-6b6b-4e43-8733-be96b9fba417} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:29.922934 [ 1778 ] {55cd90df-6b6b-4e43-8733-be96b9fba417} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.350415 [ 1778 ] {61921bb7-e41d-4389-bd4e-6679794bfbab} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.352411 [ 1778 ] {61921bb7-e41d-4389-bd4e-6679794bfbab} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.411244 [ 1778 ] {04b6c918-341d-4fdf-b9aa-aecc80727922} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.412560 [ 1778 ] {04b6c918-341d-4fdf-b9aa-aecc80727922} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.452353 [ 1778 ] {aa60e085-affe-4d67-8db8-ffb43823b9a2} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.453418 [ 1778 ] {aa60e085-affe-4d67-8db8-ffb43823b9a2} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.790463 [ 1778 ] {d64aad74-9219-4d76-bce5-61614c2a87eb} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:30.791601 [ 1778 ] {d64aad74-9219-4d76-bce5-61614c2a87eb} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.156000 [ 1778 ] {7f2dff94-4026-47d0-ba2d-8816babb08b8} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.157660 [ 1778 ] {7f2dff94-4026-47d0-ba2d-8816babb08b8} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.199162 [ 1778 ] {b07d0d56-fda3-4bdf-816b-d9fbb66d909b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.200249 [ 1778 ] {b07d0d56-fda3-4bdf-816b-d9fbb66d909b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.240549 [ 1778 ] {c52ac43a-47a4-45aa-9fae-4e3990b3218d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.241883 [ 1778 ] {c52ac43a-47a4-45aa-9fae-4e3990b3218d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.732581 [ 1778 ] {871dde51-65d0-4406-a9c6-33836fb9063e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:31.734062 [ 1778 ] {871dde51-65d0-4406-a9c6-33836fb9063e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.066163 [ 1778 ] {16bc5030-1401-4007-818a-8cb332896284} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.067981 [ 1778 ] {16bc5030-1401-4007-818a-8cb332896284} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.099040 [ 5997 ] {bc786ec2-af2c-4190-8c3d-805179097811} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59298) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:32.101251 [ 5997 ] {bc786ec2-af2c-4190-8c3d-805179097811} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:32.106025 [ 1778 ] {638d379a-ec13-45ca-b564-7c9d5bd41cb7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.107251 [ 1778 ] {638d379a-ec13-45ca-b564-7c9d5bd41cb7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.141824 [ 1778 ] {fb86851e-ac46-4fee-b022-691be023d5b3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.143090 [ 1778 ] {fb86851e-ac46-4fee-b022-691be023d5b3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.503497 [ 1778 ] {22b0e25a-e17c-49a1-a045-8b3dca1bc835} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.505447 [ 1778 ] {22b0e25a-e17c-49a1-a045-8b3dca1bc835} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.865269 [ 1778 ] {1e658087-24db-4325-98f2-9307213e0ae5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.866565 [ 1778 ] {1e658087-24db-4325-98f2-9307213e0ae5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.901211 [ 1778 ] {acff2458-fdf1-4dd4-bd77-60db1119bb8b} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.902311 [ 1778 ] {acff2458-fdf1-4dd4-bd77-60db1119bb8b} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.963252 [ 1778 ] {32b85f8f-6d43-4b11-980d-f71ba77a1814} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:32.965366 [ 1778 ] {32b85f8f-6d43-4b11-980d-f71ba77a1814} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.275937 [ 1778 ] {a9dad98c-ab6e-4984-b71f-4b93444523d3} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.277079 [ 1778 ] {a9dad98c-ab6e-4984-b71f-4b93444523d3} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.449829 [ 5997 ] {9fff2f03-96e6-4093-ad16-29c8b43d7baf} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59332) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:33.452110 [ 5997 ] {9fff2f03-96e6-4093-ad16-29c8b43d7baf} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:33.585144 [ 1778 ] {85786d33-f3e0-487e-93eb-e5a2c49fc78e} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.586229 [ 1778 ] {85786d33-f3e0-487e-93eb-e5a2c49fc78e} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.628162 [ 1778 ] {a07f7b21-fe89-4e98-8aba-91024bf9cf15} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.629585 [ 1778 ] {a07f7b21-fe89-4e98-8aba-91024bf9cf15} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.666558 [ 1778 ] {df1691d6-41c7-4e17-bfe6-592ab4f7d613} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:33.667673 [ 1778 ] {df1691d6-41c7-4e17-bfe6-592ab4f7d613} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.026002 [ 1778 ] {12757726-498b-4021-9560-94ec48a4049c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.027555 [ 1778 ] {12757726-498b-4021-9560-94ec48a4049c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.403974 [ 1778 ] {954b9986-bbb2-481b-a3a9-16e6c8e3ce45} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.405086 [ 1778 ] {954b9986-bbb2-481b-a3a9-16e6c8e3ce45} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.442167 [ 1778 ] {ec540011-42bb-4933-888d-51282e397fb5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.443367 [ 1778 ] {ec540011-42bb-4933-888d-51282e397fb5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.485490 [ 1778 ] {fd77d0af-448f-47b5-a28a-8b53a46e18af} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.486643 [ 1778 ] {fd77d0af-448f-47b5-a28a-8b53a46e18af} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.855391 [ 8851 ] {2ac109eb-c786-4acf-bed1-aee056b77890} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59446) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:34.859334 [ 8851 ] {2ac109eb-c786-4acf-bed1-aee056b77890} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x2bd81223 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bda01e4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9ff15 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9fba3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9f9b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x2bd9da9b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:805: DB::registerStorageFileLog(DB::StorageFactory&)::$_3::operator()(DB::StorageFactory::Arguments const&) const @ 0x2bd8f32f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_3&, DB::StorageFactory::Arguments const&) @ 0x2bd8ea1d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2bd8e9dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2bd8e9a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:34:34.881859 [ 1778 ] {4da67593-a647-48df-8359-782a2e03bb20} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:34.882969 [ 1778 ] {4da67593-a647-48df-8359-782a2e03bb20} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.232615 [ 1778 ] {b52e541a-ea57-4eb2-844f-dc7fb826799c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.233786 [ 1778 ] {b52e541a-ea57-4eb2-844f-dc7fb826799c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.271631 [ 1778 ] {c3a1b192-4c28-4389-8cbe-39bae392667c} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.272982 [ 1778 ] {c3a1b192-4c28-4389-8cbe-39bae392667c} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.321666 [ 1778 ] {aea1e898-b6a8-4d46-86a3-918136f6f102} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.322788 [ 1778 ] {aea1e898-b6a8-4d46-86a3-918136f6f102} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.808322 [ 1778 ] {a6fd5590-bd80-42c5-b03c-0be157758a92} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:35.810009 [ 1778 ] {a6fd5590-bd80-42c5-b03c-0be157758a92} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.281124 [ 1778 ] {67574fff-46f4-4bbd-b066-0232432b3769} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.282571 [ 1778 ] {67574fff-46f4-4bbd-b066-0232432b3769} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.330809 [ 1778 ] {3f813864-a55e-4328-a023-9953e4cda9db} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.332929 [ 1778 ] {3f813864-a55e-4328-a023-9953e4cda9db} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.408173 [ 1778 ] {0bd076a8-fce0-420c-8ffd-ae957f70a749} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.409311 [ 1778 ] {0bd076a8-fce0-420c-8ffd-ae957f70a749} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.854037 [ 1778 ] {75d470df-d034-4b87-9159-2e39138f8403} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:36.862547 [ 1778 ] {75d470df-d034-4b87-9159-2e39138f8403} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.353890 [ 1778 ] {ebe2737f-0c4e-4c8e-b2f4-d29cccaf80eb} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.355417 [ 1778 ] {ebe2737f-0c4e-4c8e-b2f4-d29cccaf80eb} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.426930 [ 1778 ] {492d2f4c-345a-4c8b-966d-368a7e21e036} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.428186 [ 1778 ] {492d2f4c-345a-4c8b-966d-368a7e21e036} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.461912 [ 1778 ] {692fbe5e-0106-4fae-aaab-b14cbf5f4a21} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.463131 [ 1778 ] {692fbe5e-0106-4fae-aaab-b14cbf5f4a21} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.864590 [ 1778 ] {d4b1120a-a369-4e10-90ee-e1cb8be49c99} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:37.865867 [ 1778 ] {d4b1120a-a369-4e10-90ee-e1cb8be49c99} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.277454 [ 1778 ] {9207ce60-6740-4dac-9f76-9b653116390d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.278992 [ 1778 ] {9207ce60-6740-4dac-9f76-9b653116390d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.319295 [ 1778 ] {e0922e57-3825-4c30-8cb3-355bd15775d6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.321029 [ 1778 ] {e0922e57-3825-4c30-8cb3-355bd15775d6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.351883 [ 1778 ] {375b8ee1-dd60-40b4-90d9-7182dd380fc4} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.353006 [ 1778 ] {375b8ee1-dd60-40b4-90d9-7182dd380fc4} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.769870 [ 1778 ] {41e47fe6-03a0-478a-9e18-eaaef29081e0} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:38.771015 [ 1778 ] {41e47fe6-03a0-478a-9e18-eaaef29081e0} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.114875 [ 1778 ] {4aaa2047-2780-4c63-8422-c143995ca029} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.117139 [ 1778 ] {4aaa2047-2780-4c63-8422-c143995ca029} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.151883 [ 1778 ] {cfd9324a-c109-495f-b504-dd29e13e1e8f} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.153191 [ 1778 ] {cfd9324a-c109-495f-b504-dd29e13e1e8f} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.216593 [ 1778 ] {8761a484-465e-4e59-9a22-ff698e31c2c1} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.217807 [ 1778 ] {8761a484-465e-4e59-9a22-ff698e31c2c1} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.638129 [ 1778 ] {aadb3a54-0502-44a1-8f16-8176bd059aae} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:39.639468 [ 1778 ] {aadb3a54-0502-44a1-8f16-8176bd059aae} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.072358 [ 1778 ] {52a31a5b-75c8-4a22-88e7-d50792b6834d} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.073456 [ 1778 ] {52a31a5b-75c8-4a22-88e7-d50792b6834d} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.118094 [ 1778 ] {874a5abe-5718-41e4-b425-4cb0f65af2f5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.119817 [ 1778 ] {874a5abe-5718-41e4-b425-4cb0f65af2f5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.214951 [ 1778 ] {a8757e38-102c-4ad1-9b16-60e03e057407} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.216407 [ 1778 ] {a8757e38-102c-4ad1-9b16-60e03e057407} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.591038 [ 1778 ] {5db684ee-a757-4da1-9476-ff682728dd04} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.592173 [ 1778 ] {5db684ee-a757-4da1-9476-ff682728dd04} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.931559 [ 1778 ] {d7d26ebf-322e-4f89-9bdc-8816250b9d24} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM t1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:40.932741 [ 1778 ] {d7d26ebf-322e-4f89-9bdc-8816250b9d24} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.023300 [ 1778 ] {3d67f780-6c7d-47ba-81cb-f32b75796d09} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM t1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.025897 [ 1778 ] {3d67f780-6c7d-47ba-81cb-f32b75796d09} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.062169 [ 1778 ] {58e53e70-5d9f-4a4f-99d1-48bade7f77a6} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM t1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.064681 [ 1778 ] {58e53e70-5d9f-4a4f-99d1-48bade7f77a6} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.436248 [ 1778 ] {70c39015-1bec-434d-a780-db6fdcb8eda5} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.437468 [ 1778 ] {70c39015-1bec-434d-a780-db6fdcb8eda5} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.893036 [ 1778 ] {5cdc8374-0170-493a-8a6a-c769bbe98801} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.904929 [ 1778 ] {5cdc8374-0170-493a-8a6a-c769bbe98801} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.947251 [ 1778 ] {7f2e0992-2a55-4aa5-9141-a6d1219fab20} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN t2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.949204 [ 1778 ] {7f2e0992-2a55-4aa5-9141-a6d1219fab20} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.983313 [ 1778 ] {bd88b48f-8f0b-4b60-982e-15421f7cdc96} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN t2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:41.984854 [ 1778 ] {bd88b48f-8f0b-4b60-982e-15421f7cdc96} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.418668 [ 1778 ] {07d189f7-06d4-4cfc-86b1-52595b232412} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ALL RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.419839 [ 1778 ] {07d189f7-06d4-4cfc-86b1-52595b232412} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.789200 [ 1778 ] {24dc5180-e160-4666-8f7a-4bbe358b382a} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), t2.s FROM tn1 AS t1 ANY RIGHT JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, t2.s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.790348 [ 1778 ] {24dc5180-e160-4666-8f7a-4bbe358b382a} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.822573 [ 1778 ] {d35b4c22-5cbb-4e21-82f8-1ad7ca1de7e7} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM tn1 AS t1 FULL JOIN tn2 AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.823849 [ 1778 ] {d35b4c22-5cbb-4e21-82f8-1ad7ca1de7e7} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.885630 [ 1778 ] {b3041094-e3f0-457a-89e2-2a981a2ed385} executeQuery: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48026) (comment: 02274_full_sort_join_nodistinct.gen.sql) (in query: SELECT key, length(t1.s), length(t2.s) FROM tn1 AS t1 ALL FULL JOIN tn2 AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:34:42.890205 [ 1778 ] {b3041094-e3f0-457a-89e2-2a981a2ed385} TCPHandler: Code: 48. DB::Exception: Can't execute GRACE_HASH join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:25.081191 [ 3320 ] {cdc988b9-af38-4c66-be28-7e7c64ba8dc8} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40882) (comment: 02119_sumcount.sql) (in query: -- Other types SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT 'a'::String AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24506a54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:35:25.082931 [ 3320 ] {cdc988b9-af38-4c66-be28-7e7c64ba8dc8} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24506a54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:35:25.097785 [ 3320 ] {2f61a3ab-3066-4e7c-b24a-640f8f3ad730} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40882) (comment: 02119_sumcount.sql) (in query: SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT now()::DateTime AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24506a54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:35:25.100858 [ 3320 ] {2f61a3ab-3066-4e7c-b24a-640f8f3ad730} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24506a54 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:35:25.676600 [ 3320 ] {0a232150-02c5-453b-bb06-02a3b2d48f3c} executeQuery: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(number, 1) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:84: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7f80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:25.677760 [ 3320 ] {0a232150-02c5-453b-bb06-02a3b2d48f3c} TCPHandler: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:84: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7f80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:25.807692 [ 3320 ] {ff54a46d-9720-4d85-a126-24609633bc7b} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:25.809331 [ 3320 ] {ff54a46d-9720-4d85-a126-24609633bc7b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:25.818274 [ 3320 ] {8d2cf7e4-a430-4357-990d-812320324f21} executeQuery: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 'b') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:25.819366 [ 3320 ] {8d2cf7e4-a430-4357-990d-812320324f21} TCPHandler: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:25.975064 [ 3320 ] {c37c441e-42ec-44ae-8935-6386ba8d7121} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:25.977039 [ 3320 ] {c37c441e-42ec-44ae-8935-6386ba8d7121} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:25.987305 [ 3320 ] {415d00f8-04f1-4d1f-a47e-adb5f535ad50} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:25.989110 [ 3320 ] {415d00f8-04f1-4d1f-a47e-adb5f535ad50} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:26.136041 [ 3320 ] {fe00b15f-33f1-4317-ba3a-773a1fc6ce42} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, materialize('a')) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211b8789 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:35:26.137723 [ 3320 ] {fe00b15f-33f1-4317-ba3a-773a1fc6ce42} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211b8789 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:35:26.206432 [ 3320 ] {bee6edf0-456a-4864-86a0-cc59994bdead} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:26.207790 [ 3320 ] {bee6edf0-456a-4864-86a0-cc59994bdead} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:70: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b7db1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:35:26.217989 [ 3320 ] {02a488df-2a50-447b-abc0-9bed1420e1d2} executeQuery: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 'a') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:26.219343 [ 3320 ] {02a488df-2a50-447b-abc0-9bed1420e1d2} TCPHandler: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:26.227813 [ 3320 ] {6d578b5d-655b-4b32-a19e-a3c98f21fef1} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:26.229766 [ 3320 ] {6d578b5d-655b-4b32-a19e-a3c98f21fef1} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:26.238676 [ 3320 ] {9b61717c-8cd8-49d3-a736-5c0ccb4141e7} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:26.240379 [ 3320 ] {9b61717c-8cd8-49d3-a736-5c0ccb4141e7} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x29aa0f51 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x2b31b5f0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x2b2d8c61 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x2b2d8a60 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8ce1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x2b2d8d86 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x2b2d8cee in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x2b2d89ea in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x2b2d88c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:695: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x2b2d3164 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:763: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x2b2d2910 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b72da in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:35:26.251106 [ 3320 ] {0a8f2c8a-0349-4380-ad94-9576e28c33ee} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40932) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, materialize(1)) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211b8789 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:35:26.252282 [ 3320 ] {0a8f2c8a-0349-4380-ad94-9576e28c33ee} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:264: DB::(anonymous namespace)::FunctionTupleElement::getElementNum(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x211b8789 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:89: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x211b803e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:35:29.311732 [ 3320 ] {9b0d115c-71a7-49c2-b123-6aa7eafd67a3} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41018) (comment: 02111_global_context_temporary_tables.sql) (in query: -- { echo } SELECT * FROM remote('127.1', system.one, 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2262e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d22411 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d222e8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2211a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1ccd6 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d19bc5 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 2024.03.06 01:35:29.313398 [ 3320 ] {9b0d115c-71a7-49c2-b123-6aa7eafd67a3} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2262e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d22411 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d222e8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2211a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1ccd6 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d19bc5 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 2024.03.06 01:35:29.323134 [ 3320 ] {55c69ab6-8211-461b-ab02-c13cf8085348} executeQuery: Code: 60. DB::Exception: Table default.dummy doesn't exist: While processing 1 IN (dummy). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41018) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', system.one, 1 IN dummy);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2262e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d22411 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d222e8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2211a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1ccd6 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d19bc5 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 2024.03.06 01:35:29.324567 [ 3320 ] {55c69ab6-8211-461b-ab02-c13cf8085348} TCPHandler: Code: 60. DB::Exception: Table default.dummy doesn't exist: While processing 1 IN (dummy). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2262e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d22411 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d222e8 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d2211a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1ccd6 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:298: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d19bc5 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 2024.03.06 01:35:29.454412 [ 3320 ] {10568c55-b70c-4fa8-bd8e-0b73966b4617} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41018) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT * FROM system.one), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 2024.03.06 01:35:29.456043 [ 3320 ] {10568c55-b70c-4fa8-bd8e-0b73966b4617} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 2024.03.06 01:35:29.467998 [ 3320 ] {cdd7e11f-6c4e-4631-a6f7-fc554c3a025b} executeQuery: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41018) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT number AS id FROM numbers(2)), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 2024.03.06 01:35:29.469489 [ 3320 ] {cdd7e11f-6c4e-4631-a6f7-fc554c3a025b} TCPHandler: Code: 60. DB::Exception: Table default.id doesn't exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x2b407aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x2b407116 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1428: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a10215d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 20. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 2024.03.06 01:35:32.359377 [ 3320 ] {3cdfde5f-6468-44fa-b160-aeaf65de3080} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45546) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891da4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.361196 [ 3320 ] {3cdfde5f-6468-44fa-b160-aeaf65de3080} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891da4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.468628 [ 3320 ] {cc2b0dea-68f8-465f-9e71-b73c99f991e8} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45546) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:669: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a8d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.469926 [ 3320 ] {cc2b0dea-68f8-465f-9e71-b73c99f991e8} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:669: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a8d9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.680993 [ 3320 ] {a37a04b9-dd78-4cfd-8f4a-a4a0f4799a8c} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45546) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891da4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.681988 [ 3320 ] {a37a04b9-dd78-4cfd-8f4a-a4a0f4799a8c} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [44]) @ 0x197fb9de in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1300: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891da4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.922058 [ 3320 ] {d5b316b0-d36d-4c86-b6f5-29ca8f8f58a4} executeQuery: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45546) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:641: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, std::shared_ptr) @ 0x2c280d90 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1312: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7350 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:32.923278 [ 3320 ] {d5b316b0-d36d-4c86-b6f5-29ca8f8f58a4} TCPHandler: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:641: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, std::shared_ptr) @ 0x2c280d90 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1312: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7350 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:34.976844 [ 3320 ] {4657c3b7-a70a-42e8-8ee3-c8f2aa053d1e} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:34.978364 [ 3320 ] {4657c3b7-a70a-42e8-8ee3-c8f2aa053d1e} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.087989 [ 3320 ] {69cbd626-0451-4977-b55b-4b2096ac3aaf} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.089094 [ 3320 ] {69cbd626-0451-4977-b55b-4b2096ac3aaf} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.197722 [ 3320 ] {a29a209c-cf57-4101-9e0e-a885c37a0558} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.198918 [ 3320 ] {a29a209c-cf57-4101-9e0e-a885c37a0558} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.308233 [ 3320 ] {c1d113f8-a5b0-45e9-840a-66a747aa6259} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.309305 [ 3320 ] {c1d113f8-a5b0-45e9-840a-66a747aa6259} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.416110 [ 3320 ] {a55574e2-1f98-445b-a712-0796796a2da2} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.417693 [ 3320 ] {a55574e2-1f98-445b-a712-0796796a2da2} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.530095 [ 3320 ] {42b0c8e5-7640-4f02-97cd-eb0698b95683} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.531202 [ 3320 ] {42b0c8e5-7640-4f02-97cd-eb0698b95683} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.757229 [ 3320 ] {2906b7df-9c98-46c8-bc26-e1fd4b16ef23} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:35.758586 [ 3320 ] {2906b7df-9c98-46c8-bc26-e1fd4b16ef23} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:36.040793 [ 3320 ] {a922b7ad-5629-48cf-8f5b-7b5fc8888687} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45596) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:36.041907 [ 3320 ] {a922b7ad-5629-48cf-8f5b-7b5fc8888687} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x29f1f093 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4025: DB::Context::getReadSettings() const @ 0x29f1336f in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:111: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x2cf9e80d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:192: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, std::shared_ptr, bool) @ 0x2cf9d684 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, std::shared_ptr const&, std::shared_ptr&, bool&) @ 0x2c2934b9 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1339: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dd19 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:56.499084 [ 8842 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.03.06 01:35:58.566196 [ 8094 ] {7ab54058-ddb9-4e2c-8484-bd777dc995dc} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59782) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIf(n, last > 50) FILTER(WHERE last>50) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:58.567949 [ 8094 ] {7ab54058-ddb9-4e2c-8484-bd777dc995dc} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:58.765380 [ 8094 ] {241fcc64-9845-492c-be46-e3f8010e9510} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59782) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:58.766801 [ 8094 ] {241fcc64-9845-492c-be46-e3f8010e9510} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:58.792052 [ 8094 ] {1f4c5c32-dc22-4595-8987-5d0a6fc6b974} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59782) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5, 1) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:35:58.793588 [ 8094 ] {1f4c5c32-dc22-4595-8987-5d0a6fc6b974} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913aceb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:03.269469 [ 632 ] {6f729288-5995-4716-9d38-7de3cf253e4c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37256) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:03.270566 [ 632 ] {6f729288-5995-4716-9d38-7de3cf253e4c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:11.279322 [ 1778 ] {f26a8a61-a8d6-46d4-b1d2-8a47335d1200} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56790) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:11.280219 [ 1778 ] {f26a8a61-a8d6-46d4-b1d2-8a47335d1200} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:15.912144 [ 1778 ] {45014e38-48e4-4bd7-b18c-6fc6b4339369} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56942) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:15.913288 [ 1778 ] {45014e38-48e4-4bd7-b18c-6fc6b4339369} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:17.113878 [ 1779 ] {960af348-d81b-43cc-8153-04b791fadfa0} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56964) (comment: 02025_storage_filelog_virtual_col.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd93388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd8884e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bd84ed1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:17.118991 [ 1779 ] {960af348-d81b-43cc-8153-04b791fadfa0} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd93388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd8884e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bd84ed1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:30.223809 [ 8840 ] {6d3b0108-1780-4a29-bfd0-cb227d433a45} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51344) (comment: 02023_storage_filelog.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd93388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd8884e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bd84ed1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:30.225677 [ 8840 ] {6d3b0108-1780-4a29-bfd0-cb227d433a45} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x2bd93388 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x2bd8884e in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bd84ed1 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.103248 [ 1778 ] {8c755b4a-c8b3-41b9-87b3-75bdf6b4b898} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b06f68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29ac7fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d76108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d75d7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a10030b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a1458 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:36:35.105222 [ 1778 ] {8c755b4a-c8b3-41b9-87b3-75bdf6b4b898} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b06f68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29ac7fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d76108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d75d7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a10030b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a1458 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:36:35.493499 [ 1778 ] {c69411fa-ae72-432f-a33b-6ee0f185ba4b} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- can't use bloom_filter with `hasAll` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAll(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.495024 [ 1778 ] {c69411fa-ae72-432f-a33b-6ee0f185ba4b} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.518206 [ 1778 ] {e35685cb-add5-485a-95da-d9dde7c04c9e} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAll(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.519546 [ 1778 ] {e35685cb-add5-485a-95da-d9dde7c04c9e} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.541985 [ 1778 ] {61e24a5d-ccae-4358-a350-4e428f665210} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.543143 [ 1778 ] {61e24a5d-ccae-4358-a350-4e428f665210} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.552882 [ 1778 ] {f417b6ac-0546-42ae-bba3-335449f7a06f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b06f68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29ac7fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d76108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d75d7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a10030b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a1458 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:36:35.554234 [ 1778 ] {f417b6ac-0546-42ae-bba3-335449f7a06f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b06f68 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x29ac7fd0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:642: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d76108 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x29d75d7d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1323: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a10030b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:740: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1e3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:745: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb286 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a1458 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:36:35.578804 [ 1778 ] {5d146c1a-9441-4679-a5e7-a71e63e163dc} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35300) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:35.579890 [ 1778 ] {5d146c1a-9441-4679-a5e7-a71e63e163dc} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, DB::KeyCondition const&, DB::MergeTreeReaderSettings const&, std::shared_ptr, unsigned long, std::vector>&, bool) @ 0x2c2858b7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1338: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7761 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:38.384032 [ 1778 ] {b4f29844-9105-49c7-aac7-0ddd96678a79} executeQuery: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35390) (comment: 02010_array_index_bad_cast.sql) (in query: -- This query throws exception about uncomparable data types (but at least it does not introduce bad cast in code). SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1ebcd2f4 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eb747c6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x21c97e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x21c963b3 in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x21c955be in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x21c95061 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21c94980 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:36:38.385311 [ 1778 ] {b4f29844-9105-49c7-aac7-0ddd96678a79} TCPHandler: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1ebcd2f4 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x1eb747c6 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x21c97e8a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x21c963b3 in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x21c955be in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x21c95061 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21c94980 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:36:42.520213 [ 8094 ] {16db565b-e532-43cb-9117-70081b407029} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44018) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(arrayJoin([0, 1]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bec94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170f97 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1886c4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:42.525639 [ 8094 ] {16db565b-e532-43cb-9117-70081b407029} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bec94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170f97 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1886c4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:42.541321 [ 8094 ] {5697685a-9359-409c-98a8-4859ae1e9c11} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44018) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(toYYYYMM(toDate([arrayJoin([arrayJoin([arrayJoin([arrayJoin([3, materialize(NULL), arrayJoin([1025, materialize(NULL), materialize(NULL)]), NULL])])]), materialize(NULL)])], NULL)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bec94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170f97 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1886c4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:42.542412 [ 8094 ] {5697685a-9359-409c-98a8-4859ae1e9c11} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES or LIMIT or aggregate function parameter is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:96: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bec94 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5246: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170f97 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4623: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c1886c4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.030726 [ 8842 ] {597ae0369e9340d789f25a9cb2fb9ce0} executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60618) (in query: insert into test_kybyjqta.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x2b6396b9 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x2b62c329 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x2b62c1a0 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:637: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29b502b5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fb79 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.032178 [ 8842 ] {597ae0369e9340d789f25a9cb2fb9ce0} TCPHandler: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x1a9aa66c in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x2b6396b9 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x2b62c329 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x2b62c1a0 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:637: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29b502b5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fb79 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.221843 [ 632 ] {f0270d25f2c8442ab43e1a08576a9577} executeQuery: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60632) (in query: insert into test_kybyjqta.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [89]) @ 0x2929e23e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x29b54b95 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:691: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fa19 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.222883 [ 632 ] {f0270d25f2c8442ab43e1a08576a9577} TCPHandler: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [89]) @ 0x2929e23e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x29b54b95 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:691: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fa19 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.315396 [ 632 ] {d11ca6a2-57b4-4a98-a995-e9c24edfebf6} executeQuery: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60632) (in query: ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d4ee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.444984 [ 8842 ] {b855a05bd39149b4acd3c465eb50efac} executeQuery: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60644) (in query: insert into test_kybyjqta.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:632: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29b50131 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fb79 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.445314 [ 632 ] {d11ca6a2-57b4-4a98-a995-e9c24edfebf6} TCPHandler: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:383: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d4ee1 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.446040 [ 632 ] {d11ca6a2-57b4-4a98-a995-e9c24edfebf6} TCPHandler: Can't skip data packets after query failure. 2024.03.06 01:36:43.446413 [ 8842 ] {b855a05bd39149b4acd3c465eb50efac} TCPHandler: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [26]) @ 0x1980897e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:632: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x29b50131 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:710: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x29b4fb79 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x2c87be14 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:203: DB::NativeReader::read() @ 0x2c87cbaa in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1696: DB::TCPHandler::receiveData(bool) @ 0x2c840e89 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1379: DB::TCPHandler::receivePacket() @ 0x2c838849 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:703: DB::TCPHandler::readDataNext() @ 0x2c83a14a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:791: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a9df in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:43.526399 [ 8842 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Hello received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [45]) @ 0x2c847cbe in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1314: DB::TCPHandler::receiveUnexpectedHello() @ 0x2c83df85 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x2c8388fe in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c82faa1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:44.247556 [ 632 ] {f1c9226f-ace6-4a52-957b-12d0c23dbb87} executeQuery: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44060) (comment: 02008_materialize_column.sql) (in query: ALTER TABLE tmp MATERIALIZE COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:727: DB::MutationsInterpreter::prepare(bool) @ 0x2afa0498 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:44.248480 [ 632 ] {f1c9226f-ace6-4a52-957b-12d0c23dbb87} TCPHandler: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:727: DB::MutationsInterpreter::prepare(bool) @ 0x2afa0498 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:46.165578 [ 8840 ] {e269fad9-50fa-484e-9f03-91b1b5ffb8fe} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44106) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv4) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:277: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x197c52d3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3982: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d24137 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23ea6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23e40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23de0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d23d88 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:36:46.167370 [ 8840 ] {e269fad9-50fa-484e-9f03-91b1b5ffb8fe} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:277: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x197c52d3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3982: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d24137 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23ea6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23e40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d23de0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d23d88 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:36:46.371451 [ 8840 ] {9c4ce7c4-f3d7-4b87-aedd-4d924afa9dc8} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44106) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv6) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:196: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x197c8bbd in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:218: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x197c65b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4002: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d24837 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d245a6 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d24540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d244e0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d24488 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 2024.03.06 01:36:46.373620 [ 8840 ] {9c4ce7c4-f3d7-4b87-aedd-4d924afa9dc8} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:196: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x197c8bbd in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:218: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x197c65b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4002: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d24837 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d245a6 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d24540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d244e0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d24488 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 2024.03.06 01:36:49.610928 [ 3320 ] {6b9a7c10-f09b-4eb9-b295-465a5546ae7b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44146) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:49.667095 [ 3320 ] {6b9a7c10-f09b-4eb9-b295-465a5546ae7b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:55.125730 [ 8836 ] {84c5173f-1f46-4aa5-87d3-292d225e970e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.10 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44124) (comment: 01961_roaring_memory_tracking.sql) (in query: SELECT cityHash64(rand() % 1000) as n, groupBitmapState(number) FROM numbers_mt(200000000) GROUP BY n FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:36:57.192722 [ 8846 ] {test_01948_tcp_test_i06pqf8e} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45438) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:57.209793 [ 8846 ] {test_01948_tcp_test_i06pqf8e} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:58.540965 [ 8836 ] {84c5173f-1f46-4aa5-87d3-292d225e970e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.10 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:36:58.914989 [ 8844 ] {test_01948_http_test_i06pqf8e} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42602) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:36:58.927959 [ 8844 ] {test_01948_http_test_i06pqf8e} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:37:11.550663 [ 8181 ] {b905f8ff-bd5c-4ada-95fe-f29e8d60a5d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: -- Error cases SELECT dateTimeToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.551924 [ 8181 ] {b905f8ff-bd5c-4ada-95fe-f29e8d60a5d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.558875 [ 8181 ] {73f652d1-4749-4a64-9950-9e6965c921e6} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.561195 [ 8181 ] {73f652d1-4749-4a64-9950-9e6965c921e6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.682804 [ 8181 ] {711d208b-3b48-4502-9989-34f681245cd3} executeQuery: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:47: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20e29357 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:11.691368 [ 8181 ] {711d208b-3b48-4502-9989-34f681245cd3} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:47: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20e29357 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:11.811127 [ 8181 ] {47338d0b-27ce-47d1-8ec1-5f573e049676} executeQuery: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:137: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20e2a1f7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:11.812268 [ 8181 ] {47338d0b-27ce-47d1-8ec1-5f573e049676} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:137: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x20e2a1f7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:11.821027 [ 8181 ] {16539ff8-08bb-4f76-a1b6-0e95b5971bb1} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.822405 [ 8181 ] {16539ff8-08bb-4f76-a1b6-0e95b5971bb1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.829938 [ 8181 ] {04fee6de-b3b0-4875-be4e-fe35b2264300} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60488) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:11.831393 [ 8181 ] {04fee6de-b3b0-4875-be4e-fe35b2264300} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:37:22.258729 [ 1010 ] {61ecc2a0-ad86-4b66-80cd-024634463760} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_jrpuyxcv.matview_exception_a_to_b (6579d235-9386-4d91-90b2-72c6a78af130). (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36202) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a5d5a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a584d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a47719 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a46a48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a45c5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2ce046e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cce55c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5595 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5575 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5555 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce551d in /usr/bin/clickhouse 2024.03.06 01:37:22.264138 [ 1010 ] {61ecc2a0-ad86-4b66-80cd-024634463760} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_jrpuyxcv.matview_exception_a_to_b (6579d235-9386-4d91-90b2-72c6a78af130). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a5d5a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a584d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a47719 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a46a48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a45c5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2ce046e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cce55c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5595 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5575 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5555 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce551d in /usr/bin/clickhouse 2024.03.06 01:37:28.633090 [ 8844 ] {97ef0428-6bb4-4434-af52-d8d3601aa8e7} executeQuery: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36280) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec7e6e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:37:28.640074 [ 8844 ] {97ef0428-6bb4-4434-af52-d8d3601aa8e7} TCPHandler: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec7e6e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:37:28.815072 [ 8844 ] {2953343a-b69a-45ed-a177-36c00a44a23c} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36280) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries('asdf');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec8366 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:37:28.816425 [ 8844 ] {2953343a-b69a-45ed-a177-36c00a44a23c} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec8366 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:37:29.099134 [ 8844 ] {f788266e-37df-4f82-859b-062067544b7d} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36280) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries(map('1', 1, '2', 1)) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x22142134 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec8478 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:37:29.110303 [ 8844 ] {f788266e-37df-4f82-859b-062067544b7d} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x22142134 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x21ec8478 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:37:31.358958 [ 8850 ] {9c58f118-68d3-4ebe-a1e6-47780f4d819b} executeQuery: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36334) (comment: 01923_ttl_with_modify_column.sql) (in query: ALTER TABLE t_ttl_modify_column MODIFY COLUMN InsertionDateTime String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x20571149 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20226d2f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc6e3f4 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc7054c in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:998: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88dec9 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:37:31.360109 [ 8850 ] {9c58f118-68d3-4ebe-a1e6-47780f4d819b} TCPHandler: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x20571149 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20226d2f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc6e3f4 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc7054c in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:998: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88dec9 in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:37:33.064239 [ 8844 ] {6070660b-b034-4a36-9bb7-c82996b34f21} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d957b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&) @ 0x20f0d3a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x20f0c8fa in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f0ba4e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.065401 [ 8844 ] {6070660b-b034-4a36-9bb7-c82996b34f21} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d957b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&) @ 0x20f0d3a2 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x20f0c8fa in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f0ba4e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.219420 [ 8844 ] {efc5649e-e182-45ec-a5e4-faa3d4d11274} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d959b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&) @ 0x20f1d102 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x20f1c65a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f1b7ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.220869 [ 8844 ] {efc5649e-e182-45ec-a5e4-faa3d4d11274} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d959b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&) @ 0x20f1d102 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x20f1c65a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f1b7ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.374682 [ 8844 ] {b7a93e41-3cfd-4a5d-8f95-ae45e818cd33} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d95bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&) @ 0x20f4af82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x20f4a4da in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f4964e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.376342 [ 8844 ] {b7a93e41-3cfd-4a5d-8f95-ae45e818cd33} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x1c0d95bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&) @ 0x20f4af82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1477: DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x20f4a4da in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f4964e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.379756 [ 8840 ] {93a56745-b742-4632-9f4d-d6f9cbad213d} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_jrpuyxcv.matview_exception_a_to_b (6579d235-9386-4d91-90b2-72c6a78af130). (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46686) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a5d5a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a584d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a47719 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a46a48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a45c5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2ce046e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cce55c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5595 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5575 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5555 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce551d in /usr/bin/clickhouse 2024.03.06 01:37:33.385206 [ 8840 ] {93a56745-b742-4632-9f4d-d6f9cbad213d} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_jrpuyxcv.matview_exception_a_to_b (6579d235-9386-4d91-90b2-72c6a78af130). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19a5d5a7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19a584d8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19a47719 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a46a48 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19a45c5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:628: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x2ce046e3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:165: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x2cce55c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5595 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x2cce5575 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5555 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce551d in /usr/bin/clickhouse 2024.03.06 01:37:33.941410 [ 8844 ] {004ed851-bc41-49a2-a4dd-2a5ee9157eb4} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f789bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&) @ 0x20f78962 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x20f77d8e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f772ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:33.943526 [ 8844 ] {004ed851-bc41-49a2-a4dd-2a5ee9157eb4} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f789bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&) @ 0x20f78962 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x20f77d8e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f772ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.085384 [ 8844 ] {dc1f73a5-c530-4f97-b3a0-094e782dc8a8} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f4b19b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&) @ 0x20f6de42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x20f6ce6e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f6bd03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.238358 [ 8840 ] {8d8e2f1c-b919-4c00-91fd-20bb253fa34d} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.238828 [ 8844 ] {dc1f73a5-c530-4f97-b3a0-094e782dc8a8} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f4b19b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&) @ 0x20f6de42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x20f6ce6e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f6bd03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.240178 [ 8840 ] {8d8e2f1c-b919-4c00-91fd-20bb253fa34d} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.257625 [ 8840 ] {a206b970-aa4a-4bcb-b9df-e0e4c3274ae8} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.259109 [ 8840 ] {a206b970-aa4a-4bcb-b9df-e0e4c3274ae8} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.392654 [ 8844 ] {56c01415-5e8e-4231-9235-9d3d107f7de2} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFiveMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f56d9b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&) @ 0x20f56d42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x20f55d0e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f54ba3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.392845 [ 8840 ] {ef65707e-def1-4698-8850-bfdf0c473c47} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.393934 [ 8844 ] {56c01415-5e8e-4231-9235-9d3d107f7de2} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f56d9b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&) @ 0x20f56d42 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x20f55d0e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f54ba3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.395111 [ 8840 ] {ef65707e-def1-4698-8850-bfdf0c473c47} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.537200 [ 8844 ] {23fe4522-eda8-40b5-8c64-47dc25d49e90} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfTenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f85ddb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&) @ 0x20f85d82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x20f84d4e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f83be3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.537254 [ 8840 ] {4a4bec78-c00e-4037-9d63-1d0c428acd9a} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.641348 [ 8850 ] {da8c7048-865d-40ee-9815-d8bdfe885a88} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46700) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: -- In version 20.12 this query sometimes produces an exception "Cannot find column" SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a' AND rand() % 100 < 20;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ae1da51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae17d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:34.641729 [ 8844 ] {23fe4522-eda8-40b5-8c64-47dc25d49e90} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f85ddb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&) @ 0x20f85d82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x20f84d4e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f83be3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.642734 [ 8850 ] {da8c7048-865d-40ee-9815-d8bdfe885a88} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ae1da51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae17d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:34.642760 [ 8840 ] {4a4bec78-c00e-4037-9d63-1d0c428acd9a} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.659827 [ 8850 ] {7147d91b-c8df-43c9-a6df-722fc0ac5d21} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46700) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ae1da51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae17d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:34.661076 [ 8850 ] {7147d91b-c8df-43c9-a6df-722fc0ac5d21} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2200: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x2ae1da51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:822: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae17d64 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:34.809700 [ 8844 ] {fe401673-9953-4384-834c-52943043fc9a} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFifteenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f52e5b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20f52e02 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20f51dce in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f50c63 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.809820 [ 8840 ] {f36c4a51-c550-460a-b82b-e2fbcd98f377} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.811285 [ 8844 ] {fe401673-9953-4384-834c-52943043fc9a} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f52e5b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20f52e02 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x20f51dce in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f50c63 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.812183 [ 8840 ] {f36c4a51-c550-460a-b82b-e2fbcd98f377} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.968752 [ 8844 ] {e044a519-b405-401d-855b-d5439664b01f} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toStartOfHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f1d31b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&) @ 0x20f5ab82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x20f59bae in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f58a43 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.968893 [ 8840 ] {31b4a51e-9e9e-441b-9101-db7339d8d91e} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:34.970951 [ 8844 ] {e044a519-b405-401d-855b-d5439664b01f} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20f1d31b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&) @ 0x20f5ab82 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x20f59bae in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f58a43 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:34.972690 [ 8840 ] {31b4a51e-9e9e-441b-9101-db7339d8d91e} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:35.006532 [ 8840 ] {0e915c55-92da-4d20-9f61-19df94397257} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46694) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:35.009228 [ 8840 ] {0e915c55-92da-4d20-9f61-19df94397257} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x2b879166 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:57: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x2c3f1a05 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1390: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x2c3ee248 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1073: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ec14e in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:971: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x2c3ead2b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:401: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x2c3d8c0f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:444: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x2c3d9411 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x2c3d7639 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:224: DB::MergeTreeSource::tryGenerate() @ 0x2d00dde2 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 2024.03.06 01:37:35.365299 [ 8844 ] {700c587b-9630-4759-aee7-add562aa616e} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46668) (comment: 01921_datatype_date32.sql) (in query: select toTime(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20edb29b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&) @ 0x20f8d022 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x20f8c50e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f8b56e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:35.366738 [ 8844 ] {700c587b-9630-4759-aee7-add562aa616e} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x19e62d53 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x19e62ae3 in /usr/bin/clickhouse 7. ? @ 0x20edb29b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1444: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&) @ 0x20f8d022 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1468: DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x20f8c50e in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:70: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20f8b56e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 2024.03.06 01:37:40.759237 [ 8840 ] {e3aaf346-3555-49e8-89de-f8f83ef573b6} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:40.760623 [ 8840 ] {e3aaf346-3555-49e8-89de-f8f83ef573b6} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:40.899268 [ 8840 ] {440ec118-664e-4c5f-99de-dc0f088c8dad} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:40.900751 [ 8840 ] {440ec118-664e-4c5f-99de-dc0f088c8dad} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.062672 [ 8840 ] {d14eb051-462f-497c-8994-55b60b38a302} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.064336 [ 8840 ] {d14eb051-462f-497c-8994-55b60b38a302} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.086886 [ 8840 ] {85c00844-e425-417b-815f-0d7942c547df} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.088070 [ 8840 ] {85c00844-e425-417b-815f-0d7942c547df} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.106276 [ 8840 ] {4e02c04f-b14d-4cf9-816b-5c8f70ca2353} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.107661 [ 8840 ] {4e02c04f-b14d-4cf9-816b-5c8f70ca2353} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.126984 [ 8840 ] {3ec2d7f3-4a29-4e89-a1d1-08fc249ee788} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.128057 [ 8840 ] {3ec2d7f3-4a29-4e89-a1d1-08fc249ee788} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.145005 [ 8840 ] {d5d7a6dd-cbd8-4a52-af2e-f98f4f11ef79} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.146435 [ 8840 ] {d5d7a6dd-cbd8-4a52-af2e-f98f4f11ef79} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:41.287593 [ 8840 ] {ceadd9c7-e4d4-447b-82bf-61aadeb4730f} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:41.289241 [ 8840 ] {ceadd9c7-e4d4-447b-82bf-61aadeb4730f} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:41.409525 [ 8840 ] {7e927413-fc2c-4f3a-9da0-ca64467bb0ac} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.410796 [ 8840 ] {7e927413-fc2c-4f3a-9da0-ca64467bb0ac} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.579071 [ 8840 ] {eae248d6-4e73-48b8-bd72-3c033d915951} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:41.580963 [ 8840 ] {eae248d6-4e73-48b8-bd72-3c033d915951} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:41.711226 [ 8840 ] {e4fca938-dc27-452d-8b2a-5304d4cdf8f6} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.712561 [ 8840 ] {e4fca938-dc27-452d-8b2a-5304d4cdf8f6} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:41.725153 [ 8840 ] {7157ac4e-b1f8-4df4-a310-ae75d9e306c7} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:41.726529 [ 8840 ] {7157ac4e-b1f8-4df4-a310-ae75d9e306c7} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:41.742914 [ 8840 ] {65397971-a722-4c08-a214-3ade0048dd59} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:41.744366 [ 8840 ] {65397971-a722-4c08-a214-3ade0048dd59} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:42.783001 [ 8840 ] {04c74323-e28e-475e-9ffa-3d9e5752c0c9} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.784139 [ 8840 ] {04c74323-e28e-475e-9ffa-3d9e5752c0c9} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.928702 [ 8840 ] {412c6a82-1a70-4906-9fde-401a6baf5e3c} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.930618 [ 8840 ] {412c6a82-1a70-4906-9fde-401a6baf5e3c} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.948491 [ 8840 ] {f3a12bf8-6b6b-4a2c-9ff1-acbce14acad5} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:42.950167 [ 8840 ] {f3a12bf8-6b6b-4a2c-9ff1-acbce14acad5} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:42.971950 [ 8840 ] {f9978f8f-d510-4697-b2b7-d0175e3139e4} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.973049 [ 8840 ] {f9978f8f-d510-4697-b2b7-d0175e3139e4} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:42.991749 [ 8840 ] {630fac34-f956-4339-8c47-d786412ae1ca} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:42.993256 [ 8840 ] {630fac34-f956-4339-8c47-d786412ae1ca} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:43.014901 [ 8840 ] {b2bed2a0-ec43-45f1-8cd4-b6a615a75fde} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.016016 [ 8840 ] {b2bed2a0-ec43-45f1-8cd4-b6a615a75fde} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:480: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:693: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x2af67ba4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x2cceac33 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:27: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x2cf6f31d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x2ae34914 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1633: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20626 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.033999 [ 8840 ] {49828694-c298-41d5-9ae0-6e28e89a481a} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:43.035435 [ 8840 ] {49828694-c298-41d5-9ae0-6e28e89a481a} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_2::operator()(DB::Block const&, String const&) const @ 0x2af4b3a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:481: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x2af4b1c3 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:522: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x2af64f41 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e31bf in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e2f69 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e2c6f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e2ae2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e230e in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1044: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c386e in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:37:43.050116 [ 8840 ] {25685dcf-61f2-4087-87de-ea7f8065452c} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:43.051568 [ 8840 ] {25685dcf-61f2-4087-87de-ea7f8065452c} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:43.063359 [ 8840 ] {18a32c4d-1354-48fd-bb12-5fb3a8ac845f} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.064634 [ 8840 ] {18a32c4d-1354-48fd-bb12-5fb3a8ac845f} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.081229 [ 8840 ] {832f74e3-133d-4d29-9040-e89b50ce8e54} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:43.083053 [ 8840 ] {832f74e3-133d-4d29-9040-e89b50ce8e54} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:37:43.100881 [ 8840 ] {3662cc41-cc61-4436-a2d4-52894537a15d} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.102176 [ 8840 ] {3662cc41-cc61-4436-a2d4-52894537a15d} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:664: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb231 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:43.113122 [ 8840 ] {3561bd8b-cf5e-43a1-88e7-24f4a438bc7e} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:43.114526 [ 8840 ] {3561bd8b-cf5e-43a1-88e7-24f4a438bc7e} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:43.128437 [ 8840 ] {f29c61b0-f236-4c49-8bda-1e2a942f76a7} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46832) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:43.129841 [ 8840 ] {f29c61b0-f236-4c49-8bda-1e2a942f76a7} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:37:45.311183 [ 8842 ] {5862cd87-d77b-44b3-ac58-8b9d6b2e443b} executeQuery: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52352) (comment: 01853_s2_cells_intersect.sql) (in query: SELECT s2CellsIntersect(9926595209846587392, 9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [18]) @ 0x1ac6b2fe in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20df0564 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:37:45.312503 [ 8842 ] {5862cd87-d77b-44b3-ac58-8b9d6b2e443b} TCPHandler: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [18]) @ 0x1ac6b2fe in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20df0564 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:37:45.955562 [ 632 ] {00ee1e05-80ab-4b52-9af6-f1358c16d907} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52366) (comment: 01851_array_difference_decimal_overflow_ubsan.sql) (in query: SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x197e7bde in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:81: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x21464d72 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:122: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x21463986 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:146: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x21461561 in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:307: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2145e3e8 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:37:45.956844 [ 632 ] {00ee1e05-80ab-4b52-9af6-f1358c16d907} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x197e7bde in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:81: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x21464d72 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:122: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x21463986 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:146: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x21461561 in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:307: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x2145e3e8 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:37:47.148160 [ 632 ] {539b234a-7696-4c7e-bf63-1b031aea5dd8} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52376) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c28907b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dc99 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:47.149330 [ 632 ] {539b234a-7696-4c7e-bf63-1b031aea5dd8} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c28907b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dc99 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:47.158109 [ 632 ] {95ee0407-4052-45b4-bc16-a5bb95afd722} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52376) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2 group by 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c28907b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dc99 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:47.159348 [ 632 ] {95ee0407-4052-45b4-bc16-a5bb95afd722} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1249: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x2c28907b in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1337: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x2c27dc99 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:166: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x2c27a3d1 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:250: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2c5f4bff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:47.824365 [ 632 ] {580d44cc-100c-43c0-aeb0-bc6698a37b40} executeQuery: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52426) (comment: 01852_hints_enum_name.sh) (in query: SELECT CAST('Helo' AS Enum('Hello' = 1, 'World' = 2))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e45a14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45646 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e455ac in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e454e8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:37:47.826830 [ 632 ] {580d44cc-100c-43c0-aeb0-bc6698a37b40} TCPHandler: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e45a14 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45646 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e455ac in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e454e8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:37:49.903310 [ 632 ] {2ba9c242-5cd8-48c9-837d-4f7ff8fd8625} executeQuery: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52474) (comment: 01825_type_json_1.sql) (in query: CREATE TABLE t_json(id UInt64, data Object('JSON')) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1470: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd594c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:37:49.904339 [ 632 ] {2ba9c242-5cd8-48c9-837d-4f7ff8fd8625} TCPHandler: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1470: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd594c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:02.418458 [ 1778 ] {fddc6fc9-fc3d-46dd-b235-07dd0ccad41d} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36694) (comment: 01825_type_json_4.sh) (in query: INSERT INTO t_json_4 FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:340: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x29ae2af3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:418: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29add090 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:451: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29adca5a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:254: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x29adbf86 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:62: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c6363f2 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:38:02.420570 [ 1778 ] {fddc6fc9-fc3d-46dd-b235-07dd0ccad41d} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:340: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x29ae2af3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:418: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29add090 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:451: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x29adca5a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:254: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x29adbf86 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:62: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c6363f2 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:38:08.373280 [ 8842 ] {5a7e5dd9-b3bc-4015-921d-74477d61c331} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36870) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:08.374445 [ 8842 ] {5a7e5dd9-b3bc-4015-921d-74477d61c331} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:09.613160 [ 8842 ] {761dcea9-1071-4cbe-8bfa-d081ef56edb8} executeQuery: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36912) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT mannWhitneyUTest(salary, salary) OVER (ORDER BY salary ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:233: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25dabe2e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x225dab6f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda2a0 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:38:09.615360 [ 8842 ] {761dcea9-1071-4cbe-8bfa-d081ef56edb8} TCPHandler: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:233: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25dabe2e in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x225dab6f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda2a0 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:38:09.795837 [ 8842 ] {423c4632-94b6-4bd5-9294-34e7b80383d3} executeQuery: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36912) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT rankCorr(salary, 0.5) OVER (ORDER BY salary ASC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x25da764b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:32: DB::RankCorrelationData::getResult() @ 0x25da70ce in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:92: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25da5729 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x225dab6f in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda2a0 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 2024.03.06 01:38:09.797728 [ 8842 ] {423c4632-94b6-4bd5-9294-34e7b80383d3} TCPHandler: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x25da764b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:32: DB::RankCorrelationData::getResult() @ 0x25da70ce in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:92: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x25da5729 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:190: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x225dab6f in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:982: DB::WindowTransform::writeOutCurrentRow() @ 0x2cdda2a0 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1163: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x2cddab90 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1398: DB::WindowTransform::work() @ 0x2cddec01 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 2024.03.06 01:38:13.349779 [ 632 ] {a7760472-da94-448e-ae53-0a146fe6bc54} executeQuery: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47988) (comment: 01825_type_json_from_map.sql) (in query: INSERT INTO t_json SELECT number, (range(number % 10), range(number % 10))::Map(UInt64, UInt64) FROM numbers(1000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3462: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x19be6be5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3541: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x197a8284 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4048: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a5cd1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a3fbc in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x1979efcd in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1979e7fc in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1304: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x29dc7046 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x2adef044 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:13.351120 [ 632 ] {a7760472-da94-448e-ae53-0a146fe6bc54} TCPHandler: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3462: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x19be6be5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3541: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x197a8284 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4048: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a5cd1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a3fbc in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x1979efcd in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1979e7fc in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1304: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x29dc7046 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:481: DB::InterpreterInsertQuery::execute() @ 0x2adef044 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:18.165924 [ 8181 ] {61cf8c83-7f22-4a89-b47b-1dd0e3d00721} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43712) (comment: 01783_parallel_formatting_memory.sh) (in query: SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1982e085 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1982df19 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:238: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b5160e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b5079fb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x2b53fa42 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x1a219d80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x2ccf9cf3 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:38:18.210703 [ 8181 ] {61cf8c83-7f22-4a89-b47b-1dd0e3d00721} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1982e085 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1982df19 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:238: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b5160e4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x2b5079fb in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x2b53fa42 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x1a219d80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x2ccf9cf3 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:38:23.711183 [ 1779 ] {c4d8f738-f05b-4408-b2f7-5f2cdd96f661} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 484.51 MiB (attempt to allocate chunk of 0 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42988) (comment: 01782_field_oom.sql) (in query: SELECT sumMap([number], [number]) FROM system.numbers_mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:38:29.403557 [ 8094 ] {5cf48f5c-f0a7-4f9a-af1d-0b90a15ec639} executeQuery: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54516) (comment: 01776_decrypt_aead_size_check.sql) (in query: SELECT decrypt('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [90]) @ 0x1c0e279e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0e0ee7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0e0c8b in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c0e02c3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:38:29.404929 [ 8094 ] {5cf48f5c-f0a7-4f9a-af1d-0b90a15ec639} TCPHandler: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [90]) @ 0x1c0e279e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0e0ee7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x1c0e0c8b in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c0e02c3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:38:29.975392 [ 8094 ] {e7ea19c6-e3be-431e-a539-f30db7298495} executeQuery: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54522) (comment: 01774_bar_with_illegal_value.sql) (in query: SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa7015b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:38:29.976888 [ 8094 ] {e7ea19c6-e3be-431e-a539-f30db7298495} TCPHandler: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa7015b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:38:31.001980 [ 8844 ] {3a94accb-d48a-4583-9a1c-3e99f6ef6842} executeQuery: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54546) (comment: 01768_extended_range.sql) (in query: SELECT toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:342: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x1985f586 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:176: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x1985f503 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:187: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x1985f4bf in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:262: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1a07a5a3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1a073ef8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1a05fe79 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a05f1c8 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a05e3de in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:38:31.003471 [ 8844 ] {3a94accb-d48a-4583-9a1c-3e99f6ef6842} TCPHandler: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:342: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x1985f586 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:176: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x1985f503 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:187: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x1985f4bf in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:262: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1a07a5a3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1948: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1a073ef8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1a05fe79 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a05f1c8 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a05e3de in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:38:37.483545 [ 3320 ] {8e230459-2cce-491e-b37e-f8505545a9ac} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e3a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.484656 [ 3320 ] {8e230459-2cce-491e-b37e-f8505545a9ac} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e3a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.497803 [ 3320 ] {62e3e9f1-f0fa-461e-9b1f-9087bdcbceaf} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e3a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.498655 [ 3320 ] {62e3e9f1-f0fa-461e-9b1f-9087bdcbceaf} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3077: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e3a8 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.672051 [ 3320 ] {0b6262e9-7a92-44ea-bf92-502b7bf373b3} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba3a3bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.673329 [ 3320 ] {0b6262e9-7a92-44ea-bf92-502b7bf373b3} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba3a3bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.683777 [ 3320 ] {b47203c0-8a43-49aa-8e12-c0fed0887170} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba3a3bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.684726 [ 3320 ] {b47203c0-8a43-49aa-8e12-c0fed0887170} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:56: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba3a3bd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.874176 [ 3320 ] {b49664ad-acf4-4b7c-bb36-fb59ee4ed759} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92cb6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.875253 [ 3320 ] {b49664ad-acf4-4b7c-bb36-fb59ee4ed759} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92cb6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.887081 [ 3320 ] {58c10845-b773-469c-92af-38438c324c10} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92cb6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:37.888391 [ 3320 ] {58c10845-b773-469c-92af-38438c324c10} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1419: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92cb6c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.063326 [ 3320 ] {c6974cc7-5e0a-4c94-a1d2-4e288413eaa9} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba1307d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.064280 [ 3320 ] {c6974cc7-5e0a-4c94-a1d2-4e288413eaa9} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba1307d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.073464 [ 3320 ] {c73e8039-68ce-4980-b0fc-b3efedd916d3} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba1307d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.074256 [ 3320 ] {c73e8039-68ce-4980-b0fc-b3efedd916d3} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:938: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2ba1307d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.264546 [ 3320 ] {eb4d8b6c-5df6-4d0f-ac6d-201f317eade8} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bcbc95d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.265673 [ 3320 ] {eb4d8b6c-5df6-4d0f-ac6d-201f317eade8} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bcbc95d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.273582 [ 3320 ] {5b96e11d-5a04-42ca-8c77-093b2be46ce5} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33424) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bcbc95d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:38.274455 [ 3320 ] {5b96e11d-5a04-42ca-8c77-093b2be46ce5} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1033: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2bcbc95d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:39.603288 [ 3320 ] {5dd70d2a-c933-4e26-8660-326dd6add7bb} executeQuery: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33456) (comment: 01732_union_and_union_all.sql) (in query: select 1 UNION select 1 UNION ALL select 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [97]) @ 0x197f67fe in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:68: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b3f7091 in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:33: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b3f6d7d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b3ed8a0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b3ed9ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b3ed76a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b3eab85 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:511: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5db9 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:39.604308 [ 3320 ] {5dd70d2a-c933-4e26-8660-326dd6add7bb} TCPHandler: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [97]) @ 0x197f67fe in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:68: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b3f7091 in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:33: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x2b3f6d7d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b3ed8a0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b3ed9ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b3ed76a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b3eab85 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:511: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5db9 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:43.010972 [ 3320 ] {930b6f97-c9ff-41dd-bceb-c06e8c9aff72} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57840) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table DROP COLUMN s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3063: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e1eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:43.012025 [ 3320 ] {930b6f97-c9ff-41dd-bceb-c06e8c9aff72} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3063: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e1eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:43.105238 [ 3320 ] {65816c8a-b401-4ebd-b912-2032cc1618e0} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57840) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table RENAME COLUMN s TO s1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3043: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16de76 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:43.106442 [ 3320 ] {65816c8a-b401-4ebd-b912-2032cc1618e0} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3043: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16de76 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:44.669034 [ 8840 ] {1d9238ba-d290-4faf-a4f9-42952508450b} executeQuery: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57874) (comment: 01715_table_function_view_fix.sql) (in query: SELECT sumIf(dummy, dummy) FROM remote('127.0.0.{1,2}', numbers(2, 100), view(SELECT CAST(NULL, 'Nullable(UInt8)') AS dummy FROM system.one));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:476: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x2d3b2733 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:49: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x2d3fd81d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:201: DB::IAST::getColumnName() const @ 0x2d452036 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1749: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8dd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:38:44.670631 [ 8840 ] {1d9238ba-d290-4faf-a4f9-42952508450b} TCPHandler: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:476: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x2d3b2733 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:49: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x2d3fd81d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:201: DB::IAST::getColumnName() const @ 0x2d452036 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1749: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8dd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:221: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x2b9221b3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:353: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x2b920c48 in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:395: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x2b922f7d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21d30 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d219c2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d21614 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d213df in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x28d1cac8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:285: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d199a7 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:38:45.185671 [ 1779 ] {c4d8f738-f05b-4408-b2f7-5f2cdd96f661} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 484.51 MiB (attempt to allocate chunk of 0 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:38:45.923614 [ 8840 ] {77055fb6-b48c-468c-a1ed-6ab4c432c4cb} executeQuery: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57898) (comment: 01710_projection_group_by_order_by.sql) (in query: create table tp (type Int32, eventcnt UInt64, projection p (select sum(eventcnt), type group by type order by sum(eventcnt))) engine = MergeTree order by type;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [69]) @ 0x1bc223fe in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:126: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b902d65 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9101 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:45.925126 [ 8840 ] {77055fb6-b48c-468c-a1ed-6ab4c432c4cb} TCPHandler: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [69]) @ 0x1bc223fe in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:126: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b902d65 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:701: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9101 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:46.945783 [ 8850 ] {1fed8f7d-f957-4a2c-b3b4-2bc3f8b42e24} executeQuery: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57922) (comment: 01710_force_use_projection.sql) (in query: select avg(eventcnt) eventcnt, d1 from tp group by d1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [108]) @ 0x29c9c2fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x2d02a107 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:465: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x2cf82a3d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:167: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf82537 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:46.946779 [ 8850 ] {1fed8f7d-f957-4a2c-b3b4-2bc3f8b42e24} TCPHandler: Code: 584. DB::Exception: No projection is used when allow_experimental_projection_optimization = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [108]) @ 0x29c9c2fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:174: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x2d02a107 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:465: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x2cf82a3d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:167: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf82537 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.218338 [ 8850 ] {0637d770-5819-4b10-8663-108178c0cf75} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46360) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt('100') format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d26308 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.219505 [ 8850 ] {0637d770-5819-4b10-8663-108178c0cf75} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d26308 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.337868 [ 8850 ] {2a130076-6af4-4785-b363-e773fbd72bf9} executeQuery: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46360) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(inf) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d264dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.339294 [ 8850 ] {2a130076-6af4-4785-b363-e773fbd72bf9} TCPHandler: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d264dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.345401 [ 8850 ] {0d10daac-57c6-4b13-8aff-588b9ca2d73e} executeQuery: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46360) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(nan) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d264dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:51.346522 [ 8850 ] {0d10daac-57c6-4b13-8aff-588b9ca2d73e} TCPHandler: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d264dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d25499 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:53.541068 [ 8840 ] {d7fb2250-eff5-4dd5-8459-a5ce44418434} executeQuery: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46412) (comment: 01700_point_in_polygon_ubsan.sql) (in query: SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [142]) @ 0x205fbd7e in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x205f8d2e in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f8a73 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f7b54 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f7063 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x205f5499 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:38:53.542595 [ 8840 ] {d7fb2250-eff5-4dd5-8459-a5ce44418434} TCPHandler: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [142]) @ 0x205fbd7e in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x205f8d2e in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f8a73 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f7b54 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x205f7063 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x205f5499 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:38:55.489343 [ 632 ] {8e29a918-f17a-4167-81de-c4c74ba3520b} executeQuery: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46470) (comment: 01682_gather_utils_ubsan.sql) (in query: SELECT arrayResize([1, 2, 3], -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x28a053c0 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x289bc28d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:151: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x289bb672 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:160: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x289bb517 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x289bb3f1 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x289bb3b9 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x289bb349 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x289bb2f9 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:84: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x289bb2a1 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x2899297d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x1d8e5401 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:97: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28991edb in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x28991e8d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21bc14a3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:38:55.587272 [ 8850 ] {fd0f281e-b76b-47df-a512-679f470f45d9} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46458) (comment: 01684_insert_specify_shard_id.sql) (in query: -- no sharding key INSERT INTO x_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.588192 [ 632 ] {8e29a918-f17a-4167-81de-c4c74ba3520b} TCPHandler: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x28a053c0 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x289bc28d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:151: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x289bb672 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:160: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x289bb517 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x289bb3f1 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x289bb3b9 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x289bb349 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:33: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x289bb2f9 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:84: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x289bb2a1 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x2899297d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x1d8e5401 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:97: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x28991edb in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x28991e8d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21bc14a3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:38:55.588441 [ 8850 ] {fd0f281e-b76b-47df-a512-679f470f45d9} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.598973 [ 8850 ] {001698e1-a009-41c0-8788-33447f61cb93} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46458) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.599855 [ 8850 ] {001698e1-a009-41c0-8788-33447f61cb93} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1157: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929276 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.710515 [ 8850 ] {83955199-d4fd-4da0-9e12-f1c90ffca1be} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46458) (comment: 01684_insert_specify_shard_id.sql) (in query: -- invalid shard id INSERT INTO x_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.711590 [ 8850 ] {83955199-d4fd-4da0-9e12-f1c90ffca1be} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.722000 [ 8850 ] {1350555d-b4b3-4efc-afc0-57279555317a} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46458) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:55.723070 [ 8850 ] {1350555d-b4b3-4efc-afc0-57279555317a} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [48]) @ 0x19e6e4de in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1163: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b929386 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:38:57.300431 [ 8850 ] {e55d57ab-5dbc-4c0d-b046-547c7a9c28dd} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46522) (comment: 01667_aes_args_check.sql) (in query: SELECT encrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x1c4e77bd in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:38:57.302118 [ 8850 ] {e55d57ab-5dbc-4c0d-b046-547c7a9c28dd} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x1c4e77bd in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:38:58.467427 [ 8842 ] {071b2d9a-9c62-4e84-a952-8c30c5b1b851} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: -- { echo } SELECT gcd(9223372036854775807, -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1ca0f5d7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1ca0f1fd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf62a2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf605b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1d44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf1541 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.470107 [ 8842 ] {071b2d9a-9c62-4e84-a952-8c30c5b1b851} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1ca0f5d7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1ca0f1fd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf62a2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf605b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1d44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf1541 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.479118 [ 8842 ] {65666349-91e8-4a96-a3a0-80aa08c43b37} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1ca0f5d7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1ca0f1fd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf62a2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf605b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1d44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf1541 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.481338 [ 8842 ] {65666349-91e8-4a96-a3a0-80aa08c43b37} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x1ca0f5d7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x1ca0f1fd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf62a2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf605b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1d44 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf1541 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.582209 [ 8842 ] {c9e25b05-2a6f-49b0-b605-a308e5257669} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775808, 9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1ca539f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1ca5361d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cb1dba2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1cb1d95b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cb1bf84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1cb1b6a7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cb1b51d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbd93 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb581 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.584809 [ 8842 ] {c9e25b05-2a6f-49b0-b605-a308e5257669} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1ca539f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1ca5361d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cb1dba2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1cb1d95b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cb1bf84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1cb1b6a7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cb1b51d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbd93 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb581 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.597336 [ 8842 ] {fac2ca07-674a-4691-9f2a-8f60ee98e162} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775807, 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1ca539f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1ca5361d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cb1dba2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1cb1d95b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cb1bf84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1cb1b6a7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cb1b51d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbd93 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb581 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.601696 [ 8842 ] {fac2ca07-674a-4691-9f2a-8f60ee98e162} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x1ca539f7 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x1ca5361d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cb1dba2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1cb1d95b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cb1bf84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1cb1b6a7 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cb1b51d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbd93 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb581 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.707646 [ 8842 ] {22874a06-7ae0-4f70-98aa-60e6787ddd5e} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x1ca0d078 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x1ca0cc9f in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf4d63 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf4b1b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1c84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf140d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.710146 [ 8842 ] {22874a06-7ae0-4f70-98aa-60e6787ddd5e} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x1cb96e24 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x1ca0d078 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:236: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x1ca0cc9f in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1664: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x1caf4d63 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:1830: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x1caf4b1b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:672: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1caf1c84 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x1caf140d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1caf115d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:670: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x1cadbc13 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:20: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x1cadb327 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:662: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x1cadb19d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:668: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x1cadb171 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:1801: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x1cadaebf in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad8b76 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1cad804c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 2024.03.06 01:38:58.835282 [ 8842 ] {7e717c55-805d-4072-b1ec-54d29d3a9eb6} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46552) (comment: 01666_gcd_ubsan.sql) (in query: SELECT lcm(-170141183460469231731687303715884105728, -170141183460469231731687303715884105728);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1e18dcc9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1e02034f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:38:58.836580 [ 8842 ] {7e717c55-805d-4072-b1ec-54d29d3a9eb6} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1e18dcc9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1e02034f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:38:59.504660 [ 632 ] {4561b930-5714-4de1-98e7-e3e6e29bcd0d} executeQuery: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.10 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51914) (comment: 01675_distributed_bytes_to_delay_insert.sh) (in query: insert into dist_01675 select * from numbers(1) settings prefer_localhost_replica=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1892: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x2b935404 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x2bfc97bb in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:38:59.506997 [ 632 ] {4561b930-5714-4de1-98e7-e3e6e29bcd0d} DynamicQueryHandler: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.10 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1892: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x2b935404 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x2bfc97bb in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:01.095301 [ 8850 ] {4fba2832-2b8f-45b7-bf2a-f33408c239a1} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: -- tests with INT64_MIN (via overflow) SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a931380 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a934999 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a934483 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a92cda7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a934223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9300be in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a92ea74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.096820 [ 8850 ] {4fba2832-2b8f-45b7-bf2a-f33408c239a1} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a931380 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a934999 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a934483 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a92cda7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a934223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9300be in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a92ea74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.190754 [ 8850 ] {6575cb38-5c9c-435e-bd88-bc0c957e342d} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a925360 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a928979 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a928463 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a920d87 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a928203 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a92409e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a922a54 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.192282 [ 8850 ] {6575cb38-5c9c-435e-bd88-bc0c957e342d} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a925360 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a928979 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a928463 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a920d87 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a928203 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a92409e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a922a54 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.285774 [ 8850 ] {c779eb18-87ea-478b-b3d2-de4f3e8f8f7d} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a985300 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a988879 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a988363 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a980ce7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a9880c3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a983ffe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9829b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.287377 [ 8850 ] {c779eb18-87ea-478b-b3d2-de4f3e8f8f7d} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a985300 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a988879 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a988363 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a980ce7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a9880c3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a983ffe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9829b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.378869 [ 8850 ] {32685e2f-3d65-4907-a850-e18ad0b2a2f5} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a919480 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a91caf9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a91c5e3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a914e67 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a91c223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a91817e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a916b34 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.380440 [ 8850 ] {32685e2f-3d65-4907-a850-e18ad0b2a2f5} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a919480 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a91caf9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a91c5e3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a914e67 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a91c223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a91817e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a916b34 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.470738 [ 8850 ] {26961b1b-5e84-422f-943a-6e83d5893e1f} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a991260 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a994a19 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a994503 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a98cac7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a994043 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a98fdde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a98e794 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.472109 [ 8850 ] {26961b1b-5e84-422f-943a-6e83d5893e1f} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x1a991260 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a994a19 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a994503 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a98cac7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a994043 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a98fdde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a98e794 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.563200 [ 8850 ] {a26d738a-ea61-4e21-bdf9-946229c4d0b6} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: -- tests with inf SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a931b20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a934e1a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9346c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a92d001 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a934223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9300be in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a92ea74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.564762 [ 8850 ] {a26d738a-ea61-4e21-bdf9-946229c4d0b6} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a931b20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a934e1a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9346c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a92d001 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a934223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a9300be in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a92ea74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.660874 [ 8850 ] {d3feb0a2-a133-4bd5-afea-8e6e6f351b8e} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a925b00 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a928dfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9286a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a920fe1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a928203 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a92409e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a922a54 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.662371 [ 8850 ] {d3feb0a2-a133-4bd5-afea-8e6e6f351b8e} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a925b00 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a928dfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9286a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a920fe1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a928203 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a92409e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a922a54 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.757402 [ 8850 ] {2d0470f4-dcf0-4d5b-abd8-18d7799a1167} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a985b40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a988cfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9885a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a980f41 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a9880c3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a983ffe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9829b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.759123 [ 8850 ] {2d0470f4-dcf0-4d5b-abd8-18d7799a1167} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a985b40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a988cfa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a9885a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a980f41 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a9880c3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a983ffe in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a9829b4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.851962 [ 8850 ] {da1df6e2-cf16-493e-8895-156b8f1251e3} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a919cc0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a91cf7a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a91c823 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a9150c1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a91c223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a91817e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a916b34 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.853478 [ 8850 ] {da1df6e2-cf16-493e-8895-156b8f1251e3} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a919cc0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a91cf7a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a91c823 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a9150c1 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a91c223 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a91817e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a916b34 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.944510 [ 8850 ] {e60cb337-fa25-4cf7-bf76-275a2998aee9} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46608) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a991aa0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a994e9a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a994743 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a98cd21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a994043 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a98fdde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a98e794 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:01.946022 [ 8850 ] {e60cb337-fa25-4cf7-bf76-275a2998aee9} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [17]) @ 0x197fc61e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x1a991aa0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x1a994e9a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x1a994743 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x1a98cd21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x1a994043 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x1a98fdde in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a98e794 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:03.213426 [ 1010 ] {2d704fff-0687-46dc-ac20-da0f45008483} executeQuery: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41806) (comment: 01658_values_ubsan.sql) (in query: SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [112]) @ 0x28d4e13e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x28d4d3c2 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d4ce96 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:03.214634 [ 1010 ] {2d704fff-0687-46dc-ac20-da0f45008483} TCPHandler: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [112]) @ 0x28d4e13e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x28d4d3c2 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d4ce96 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:04.086061 [ 1010 ] {16d06fb9-7ab7-4544-aadf-d4176b4afe28} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41844) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24c64 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e247da in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:39:04.087106 [ 1010 ] {16d06fb9-7ab7-4544-aadf-d4176b4afe28} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24c64 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e247da in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:39:04.124723 [ 1010 ] {6c739575-fa90-411e-b67d-d88c9a1b72e7} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41844) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24c64 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e247da in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:39:04.126056 [ 1010 ] {6c739575-fa90-411e-b67d-d88c9a1b72e7} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:100: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24c64 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:82: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e247da in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:39:05.829543 [ 1010 ] {4f395efc-06f4-467b-a68a-48e2b871d24d} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 10) from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eb6936a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb5851f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:05.830787 [ 1010 ] {4f395efc-06f4-467b-a68a-48e2b871d24d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eb6936a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb5851f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:05.976054 [ 1010 ] {4a0fe3bd-b58e-4c80-bb0c-ee3794c1a4a3} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eb6936a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb5851f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:05.978044 [ 1010 ] {4a0fe3bd-b58e-4c80-bb0c-ee3794c1a4a3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x1eb6936a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb5851f in /usr/bin/clickhouse 10. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:06.095905 [ 5997 ] {3cbf4a61-555e-4060-a1a0-1446758a83d6} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41892) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae13ba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13a06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac8230b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac82221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ac82020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ac82541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ac81faa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2ac825e6 in /usr/bin/clickhouse 2024.03.06 01:39:06.215419 [ 1010 ] {3667c119-62a4-441c-a9d1-c7865204d181} executeQuery: Code: 43. DB::Exception: First argument for function mapContains must be an array or map. Actual UInt8: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapContains(b, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:392: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb583f1 in /usr/bin/clickhouse 7. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.215887 [ 5997 ] {3cbf4a61-555e-4060-a1a0-1446758a83d6} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae13ba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13a06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac8230b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac82221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ac82020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ac82541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ac81faa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2ac825e6 in /usr/bin/clickhouse 2024.03.06 01:39:06.216958 [ 1010 ] {3667c119-62a4-441c-a9d1-c7865204d181} TCPHandler: Code: 43. DB::Exception: First argument for function mapContains must be an array or map. Actual UInt8: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:392: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x1eb583f1 in /usr/bin/clickhouse 7. /build/src/Functions/map.cpp:253: DB::(anonymous namespace)::FunctionMapContains::getReturnTypeImpl(std::vector> const&) const @ 0x1eb57d21 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.237189 [ 5997 ] {892aaba0-b67b-4fb6-9fd4-0321674ad6c9} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41892) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae13ba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13a06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac8230b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac82221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ac82020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ac82541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ac81faa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2ac825e6 in /usr/bin/clickhouse 2024.03.06 01:39:06.239611 [ 5997 ] {892aaba0-b67b-4fb6-9fd4-0321674ad6c9} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:352: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae13ba9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:194: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13a06 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac8230b in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x2ac82221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2ac82020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2ac82541 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2ac81faa in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2ac825e6 in /usr/bin/clickhouse 2024.03.06 01:39:06.645866 [ 1010 ] {1fa0388e-fa51-4175-b4f9-6d035eac6196} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapFromArrays('aa', [4, 5]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:178: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb73525 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.647004 [ 1010 ] {1fa0388e-fa51-4175-b4f9-6d035eac6196} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:178: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb73525 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.764114 [ 1010 ] {3e734da9-8317-4e0a-8102-724a8cc5b253} executeQuery: Code: 43. DB::Exception: Second argument for function mapFromArrays must be an Array: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:182: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb73677 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.765316 [ 1010 ] {3e734da9-8317-4e0a-8102-724a8cc5b253} TCPHandler: Code: 43. DB::Exception: Second argument for function mapFromArrays must be an Array: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:182: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb73677 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:06.774092 [ 1010 ] {723405ea-2e7b-4894-aed9-0bba3770e23d} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:39:06.775394 [ 1010 ] {723405ea-2e7b-4894-aed9-0bba3770e23d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:39:06.884738 [ 1010 ] {b69576f2-7a06-4a8e-b82a-d54713b3663d} executeQuery: Code: 190. DB::Exception: Array arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:221: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1eb72e64 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:06.885984 [ 1010 ] {b69576f2-7a06-4a8e-b82a-d54713b3663d} TCPHandler: Code: 190. DB::Exception: Array arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:221: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1eb72e64 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:06.994850 [ 1010 ] {f79ed81b-a1e0-457c-a425-2f2c6fcc4153} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41884) (comment: 01651_map_functions.sql) (in query: select mapFromArrays([[1,2], [3,4]], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x29a92407 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x29a9259b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eb73dc6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eb73d41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x1eb73cc7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x1eb73bf7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x1eb73ba6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:185: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb737e5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:39:06.997017 [ 1010 ] {f79ed81b-a1e0-457c-a425-2f2c6fcc4153} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x29a92407 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x29a9259b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eb73dc6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x1eb73d41 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x1eb73cc7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x1eb73bf7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x1eb73ba6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:185: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1eb737e5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 01:39:08.755377 [ 5997 ] {6d61276d-7881-4322-a016-0378d0cb84f9} executeQuery: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41926) (comment: 01634_sum_map_nulls.sql) (in query: SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [null, null, null]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x24602ea2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x245fee1c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x245fe4b5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x245147bf in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24513a78 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x245118a6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x260a0013 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913ae18 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x1d96c8ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:39:08.757107 [ 5997 ] {6d61276d-7881-4322-a016-0378d0cb84f9} TCPHandler: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x24602ea2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x245fee1c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x245fe4b5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x245147bf in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24513a78 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x245118a6 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x260a0013 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913ae18 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x1d96c8ad in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:39:09.129007 [ 1010 ] {82041427-3317-496b-95bc-96ae991de15c} executeQuery: Code: 241. DB::Exception: Memory limit to apply mutate/merge in 8d36eff4-ff78-4dfd-aa7c-e3fa2566d9ee::all_1_120_13 exceeded: would use 11.32 MiB (attempt to allocate chunk of 2772764 bytes), maximum: 10.00 MiB.: while executing 'FUNCTION repeat(value : 1, 40 :: 2) -> repeat(value, 40) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41916) (comment: 01641_memory_tracking_insert_optimize.sql) (in query: optimize table data_01641 final;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, char8_t) @ 0x20d8e820 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d8d8e0 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d8d3a7 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d13d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8c97a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 2024.03.06 01:39:09.130106 [ 1010 ] {82041427-3317-496b-95bc-96ae991de15c} TCPHandler: Code: 241. DB::Exception: Memory limit to apply mutate/merge in 8d36eff4-ff78-4dfd-aa7c-e3fa2566d9ee::all_1_120_13 exceeded: would use 11.32 MiB (attempt to allocate chunk of 2772764 bytes), maximum: 10.00 MiB.: while executing 'FUNCTION repeat(value : 1, 40 :: 2) -> repeat(value, 40) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, char8_t) @ 0x20d8e820 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d8d8e0 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d8d3a7 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d13d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8c97a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 2024.03.06 01:39:10.353476 [ 5997 ] {0658201a-4e76-46fe-a57f-bc9c8b0a9009} executeQuery: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41958) (comment: 01632_max_partitions_to_read.sql) (in query: select * from p order by i;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x2c2930cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1193: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x2c288733 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1654: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfab3cf in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:10.354511 [ 5997 ] {0658201a-4e76-46fe-a57f-bc9c8b0a9009} TCPHandler: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x2c2930cc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1193: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x2c288733 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1654: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfab3cf in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:13.879411 [ 5997 ] {6e663d27-5f1e-43bc-9301-0c4584230ad5} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47538) (comment: 01621_summap_check_types.sql) (in query: SELECT [NULL], sumMapWithOverflow(events, [NULL], [[(NULL)]], counts) FROM sum_map_overflow;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x249fd522 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x249f949c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x249f8b35 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2451967f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24518938 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24512386 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:39:13.880941 [ 5997 ] {6e663d27-5f1e-43bc-9301-0c4584230ad5} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:134: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x249fd522 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:84: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x249f949c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x249f8b35 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x2451967f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:124: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x24518938 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x24512386 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:39:15.475419 [ 5997 ] {e72c8b0d-082f-4547-bed0-92342b26a2ed} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47568) (comment: 01621_bar_nan_arguments.sql) (in query: SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa6fd65 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:15.476685 [ 5997 ] {e72c8b0d-082f-4547-bed0-92342b26a2ed} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa6fd65 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:15.484966 [ 5997 ] {60b3336c-123e-4e9f-9575-6a1bce7d67ff} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47568) (comment: 01621_bar_nan_arguments.sql) (in query: select bar(1,1,1,nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa6fd65 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:15.486301 [ 5997 ] {60b3336c-123e-4e9f-9575-6a1bce7d67ff} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa6fd65 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:39:17.054764 [ 5997 ] {6256be5e-af2c-49ec-b61f-2b5f58c0a182} executeQuery: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47604) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_lc_key MODIFY COLUMN enum_key Enum16('x' = 2, 'y' = 1, 'z' = 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:17.055713 [ 5997 ] {6256be5e-af2c-49ec-b61f-2b5f58c0a182} TCPHandler: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:17.510160 [ 5997 ] {ed2e1f09-74a2-49bf-b1e2-4ff4943acda7} executeQuery: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47604) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_string_key MODIFY COLUMN int_key Enum8('y' = 1, 'x' = 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:17.511355 [ 5997 ] {ed2e1f09-74a2-49bf-b1e2-4ff4943acda7} TCPHandler: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:20.077013 [ 8836 ] {2a174712-0f9e-46ab-96f5-ed81082b3b08} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41818) (comment: 01656_sequence_next_node_long.sql) (in query: SELECT '(backward, first_match, 1, B->C)', id, sequenceNextNode('backward', 'first_match')(dt, action, referrer = '2', action = 'B', action = 'A') AS next_node FROM test_base_condition GROUP BY id ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25db02e2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:39:20.078757 [ 8836 ] {2a174712-0f9e-46ab-96f5-ed81082b3b08} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25db02e2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:39:20.789658 [ 5997 ] {a875eb54-7baf-41e1-b4e4-36c594cb5bd4} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:20.791206 [ 5997 ] {a875eb54-7baf-41e1-b4e4-36c594cb5bd4} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:20.800004 [ 5997 ] {bef1939b-b216-4a1d-a8bf-5850a8fe7d39} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:20.801136 [ 5997 ] {bef1939b-b216-4a1d-a8bf-5850a8fe7d39} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:20.808932 [ 5997 ] {c6a924c6-c152-4fdd-95dc-d5fa66a55f4d} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toInt32OrNull('123qwe123'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:20.809973 [ 5997 ] {c6a924c6-c152-4fdd-95dc-d5fa66a55f4d} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c047abd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:476: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291275a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:39:21.718119 [ 3320 ] {dd8fd745-add2-41a2-bc2b-f3492dbc320b} executeQuery: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: -- Constant columns are currently not supported. SELECT runningConcurrency(toDate(arrayJoin([1, 2])), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20dd5735 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:21.719417 [ 3320 ] {dd8fd745-add2-41a2-bc2b-f3492dbc320b} TCPHandler: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20dd5735 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:21.842947 [ 3320 ] {7b98d4f1-22ff-4744-b67c-f493abbacd7a} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: -- Unsupported data types SELECT runningConcurrency('strings are', 'not supported');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:21.847342 [ 3320 ] {7b98d4f1-22ff-4744-b67c-f493abbacd7a} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:21.856648 [ 3320 ] {c2a0fa2a-9bcb-4555-870f-050d4011ab98} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(NULL, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:21.858410 [ 3320 ] {c2a0fa2a-9bcb-4555-870f-050d4011ab98} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:21.868059 [ 3320 ] {89af71fa-f62c-487b-9575-83df8879a562} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:21.869805 [ 3320 ] {89af71fa-f62c-487b-9575-83df8879a562} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x20dd4ded in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd4b5a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:39:22.065460 [ 3320 ] {ba1ca469-ebf2-44de-8918-21afd8fabe6f} executeQuery: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: -- Mismatching data types SELECT runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd498d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:39:22.066774 [ 3320 ] {ba1ca469-ebf2-44de-8918-21afd8fabe6f} TCPHandler: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x20dd498d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:443: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x2912773e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:39:22.190506 [ 3320 ] {026340b8-675d-4ce3-8c42-4a882c6e82c6} executeQuery: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45978) (comment: 01602_runningConcurrency.sql) (in query: -- begin > end SELECT runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x20dd660c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20dd60fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:39:22.191883 [ 3320 ] {026340b8-675d-4ce3-8c42-4a882c6e82c6} TCPHandler: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x20dd660c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20dd60fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:39:24.756294 [ 5997 ] {e0b55835-afd4-4d69-917a-756eec2976f2} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52052) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:24.757642 [ 5997 ] {e0b55835-afd4-4d69-917a-756eec2976f2} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:24.845859 [ 3320 ] {e2237977-e825-44cd-85db-6aedd6f29ba3} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52056) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:24.847176 [ 3320 ] {e2237977-e825-44cd-85db-6aedd6f29ba3} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:24.848808 [ 5997 ] {e0b55835-afd4-4d69-917a-756eec2976f2} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 566. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:21: DB::WriteBufferFromOStream::nextImpl() @ 0x223fa92f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:133: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x2c85a99f in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:925: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c7b0342 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b294b in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.061244 [ 3320 ] {e34d15a8-d11b-430d-8f80-12854e69c315} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52060) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.062552 [ 3320 ] {e34d15a8-d11b-430d-8f80-12854e69c315} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-04-18 01:35:02. Name of quota template: `quota_by_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.063391 [ 5997 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1f8d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31ca2624 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31ca31bf in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31caae5e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31ca6cb2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31c815ce in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x31c71234 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::Net::HTTPBufferAllocator>::flushBuffer() @ 0x31c722cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::Net::HTTPBufferAllocator>::sync() @ 0x31c71f19 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31c709f3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31c713da in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71b61 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71ba0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c85772d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c85752e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x1973de54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x1973ddf9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c7bb00c in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c851b7b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c8516b8 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.114516 [ 3320 ] {b9fdf367-e0e5-4fe4-948c-94525442f31c} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-02-17 18:28:46. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52072) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.115692 [ 3320 ] {b9fdf367-e0e5-4fe4-948c-94525442f31c} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-02-17 18:28:46. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.117870 [ 3320 ] {b9fdf367-e0e5-4fe4-948c-94525442f31c} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 606. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromOStream.cpp:21: DB::WriteBufferFromOStream::nextImpl() @ 0x223fa92f in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:133: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x2c85a99f in /usr/bin/clickhouse 9. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:925: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x2c7b0342 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1063: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b294b in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.118999 [ 3320 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1f8d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31ca2624 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31ca31bf in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31caae5e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31ca6cb2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31c815ce in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x31c71234 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:130: Poco::BasicBufferedStreamBuf, Poco::Net::HTTPBufferAllocator>::flushBuffer() @ 0x31c722cd in /usr/bin/clickhouse 13. /build/base/poco/Foundation/include/Poco/BufferedStreamBuf.h:111: Poco::BasicBufferedStreamBuf, Poco::Net::HTTPBufferAllocator>::sync() @ 0x31c71f19 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:54: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31c709f3 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31c713da in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71b61 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71ba0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c85772d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c85752e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x1973de54 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x1973ddf9 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c7bb00c in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c851b7b in /usr/bin/clickhouse 26. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c8516b8 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.132980 [ 3320 ] {c9751a83-b34e-4070-b7a0-40f0e9439bb9} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-02-17 18:28:46. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52076) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.134192 [ 3320 ] {c9751a83-b34e-4070-b7a0-40f0e9439bb9} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-02-17 18:28:46. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.205105 [ 3320 ] {aa74f48c-8f5c-4530-9b37-73abebf0c218} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52104) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.206600 [ 3320 ] {aa74f48c-8f5c-4530-9b37-73abebf0c218} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.237033 [ 3320 ] {775dd577-9123-4655-aa40-1fd554160d87} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52112) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.240835 [ 3320 ] {775dd577-9123-4655-aa40-1fd554160d87} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:25.275331 [ 3320 ] {fe7a91cb-062e-4ca1-93a3-2cf75b7a9876} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52122) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:25.286004 [ 3320 ] {fe7a91cb-062e-4ca1-93a3-2cf75b7a9876} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_drbz1lme` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2024-11-19 06:26:54. Name of quota template: `quota_by_forwarded_ip_test_drbz1lme`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:682: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d82fc in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:39:26.351813 [ 5997 ] {7a83737b-df82-4cce-87cd-239017146e8a} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46044) (comment: 01595_countMatches.sql) (in query: select countMatches(1, 'foo') from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1c044042 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:39:26.353129 [ 5997 ] {7a83737b-df82-4cce-87cd-239017146e8a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1c044042 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:39:26.514427 [ 5997 ] {2206cf20-9d52-4c8f-8515-c734ef78b32a} executeQuery: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46044) (comment: 01595_countMatches.sql) (in query: select countMatches('foobarfoo', toString(number)) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1c0441bc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:39:26.515826 [ 5997 ] {2206cf20-9d52-4c8f-8515-c734ef78b32a} TCPHandler: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x1c0441bc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:39:28.392716 [ 8840 ] {ff825ed9-156d-419c-b068-8f5741eba5de} executeQuery: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46064) (comment: 01593_insert_settings.sql) (in query: insert into data_01593 select * from numbers_mt(10) settings max_partitions_per_insert_block=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:78: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x2c4840e5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:223: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x2c482ed1 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c6364ba in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:39:28.395149 [ 8840 ] {ff825ed9-156d-419c-b068-8f5741eba5de} TCPHandler: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:78: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x2c4840e5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:223: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x2c482ed1 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:64: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c6364ba in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:39:29.254009 [ 8846 ] {4d0cbcd7-500b-4629-a3b6-d466f4e9d64b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 137439846568 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46068) (comment: 01586_columns_pruning.sql) (in query: -- Unneeded column cannot be removed from subquery and the query is out of memory SELECT count() FROM (SELECT number, groupArray(repeat(toString(number), 1000000)) AS agg FROM numbers(1000000) GROUP BY number HAVING notEmpty(agg));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x20d8ec5a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d8da5f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d8d467 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d13d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8c97a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 01:39:29.260911 [ 8846 ] {4d0cbcd7-500b-4629-a3b6-d466f4e9d64b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 137439846568 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:64: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x20d8ec5a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:219: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x20d8da5f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x20d8d467 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d13d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:213: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8c97a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 01:39:35.025688 [ 1779 ] {a128b5de-68d6-44f2-9bc2-bba7ab86acce} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42586) (comment: 01560_crash_in_agg_empty_arglist.sql) (in query: SELECT any() as t, substring(query, 1, 70) AS query, avg(memory_usage) usage, count() count FROM system.query_log WHERE current_database = currentDatabase() AND event_date >= toDate(1604295323) AND event_time >= toDateTime(1604295323) AND type in (1,2,3,4) and initial_user in ('') and('all' = 'all' or(positionCaseInsensitive(query, 'all') = 1)) GROUP BY query ORDER BY usage desc LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:107: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x290b9eca in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a142d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:39:35.027617 [ 1779 ] {a128b5de-68d6-44f2-9bc2-bba7ab86acce} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb53f5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23eb52cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:107: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x290b9eca in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:714: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c0a142d in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:55: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x2c47596d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:645: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a1c3 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:39:50.250942 [ 8181 ] {cc2937fd-567a-4fc5-82d8-e35ab0b1d5b3} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58802) (comment: 01550_create_map_type.sql) (in query: SELECT CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10] -- { serverError 53} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19bd433e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3318: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e56ab1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e56526 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e564c0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e56460 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5640b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:50.252483 [ 8181 ] {cc2937fd-567a-4fc5-82d8-e35ab0b1d5b3} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19bd433e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3318: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e56ab1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e56526 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e564c0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e56460 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5640b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:39:51.529781 [ 8181 ] {cc6e0cc5-c3d7-446c-b771-e048c7917b10} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45218) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd34d2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:51.532476 [ 8181 ] {cc6e0cc5-c3d7-446c-b771-e048c7917b10} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd34d2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:51.563743 [ 8181 ] {67748dfb-b3c9-4050-8055-72e231279356} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45218) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([3, 2, 1, 0]) ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd34d2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:51.566526 [ 8181 ] {67748dfb-b3c9-4050-8055-72e231279356} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd34d2 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:53.171669 [ 8181 ] {76dbafc6-74ee-493a-bf5c-7093de87d2be} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45254) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(-678942);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a1c0d3e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:333: DB::OrdinalDate::OrdinalDate(int) @ 0x1c9c11af in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(int) @ 0x1c9c10e3 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c9c0f60 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:39:53.173233 [ 8181 ] {76dbafc6-74ee-493a-bf5c-7093de87d2be} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a1c0d3e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:333: DB::OrdinalDate::OrdinalDate(int) @ 0x1c9c11af in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(int) @ 0x1c9c10e3 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c9c0f60 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:39:53.297743 [ 8181 ] {6d5ee51a-be51-4fde-8eae-dd665e58cfd1} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45254) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(2973484);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a1c0d3e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:339: DB::OrdinalDate::OrdinalDate(unsigned int) @ 0x1c9b070f in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(unsigned int) @ 0x1c9b0643 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c9b04c0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:39:53.299044 [ 8181 ] {6d5ee51a-be51-4fde-8eae-dd665e58cfd1} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [62]) @ 0x1a1c0d3e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.h:339: DB::OrdinalDate::OrdinalDate(unsigned int) @ 0x1c9b070f in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.h:260: DB::GregorianDate::GregorianDate(unsigned int) @ 0x1c9b0643 in /usr/bin/clickhouse 8. /build/src/Functions/fromModifiedJulianDay.cpp:77: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c9b04c0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:39:54.876447 [ 3320 ] {89c681e4-563d-4f5b-afec-110e785cd036} executeQuery: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45330) (comment: 01538_fuzz_aggregate.sql) (in query: SELECT count(), sum(ns) FROM ( SELECT intDiv(number, NULL) AS k FROM system.numbers_mt GROUP BY k ) ARRAY JOIN ns;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:653: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbbb3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:54.877720 [ 3320 ] {89c681e4-563d-4f5b-afec-110e785cd036} TCPHandler: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:653: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbbb3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:39:56.250654 [ 8181 ] {e0f377b0-7b0d-4895-9eff-4223507b9451} executeQuery: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45342) (comment: 01535_decimal_round_scale_overflow_check.sql) (in query: SELECT round(toDecimal32(1, 0), -9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [50]) @ 0x197c0cbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x1a6525b5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a651cb5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:39:56.251828 [ 8181 ] {e0f377b0-7b0d-4895-9eff-4223507b9451} TCPHandler: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [50]) @ 0x197c0cbe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x1a6525b5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a651cb5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:40:00.946709 [ 8181 ] {3ec182b4-f372-49a2-bef9-35e7b23dca70} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45434) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:00.951049 [ 8181 ] {3ec182b4-f372-49a2-bef9-35e7b23dca70} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:01.294671 [ 8181 ] {beb489ea-0c7b-45e7-869d-4df263952eed} executeQuery: Code: 36. DB::Exception: Materialized view test_edtyebgj.v cannot point to itself. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56360) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to v AS SELECT c FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e36ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:40:01.296293 [ 8181 ] {beb489ea-0c7b-45e7-869d-4df263952eed} TCPHandler: Code: 36. DB::Exception: Materialized view test_edtyebgj.v cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e36ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:40:01.426434 [ 8181 ] {ab9af0bc-0fa8-428e-8650-5cc3f8163eaf} executeQuery: Code: 60. DB::Exception: Table test_edtyebgj.v doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56360) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to t AS SELECT * FROM v;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9b86 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:01.427876 [ 8181 ] {ab9af0bc-0fa8-428e-8650-5cc3f8163eaf} TCPHandler: Code: 60. DB::Exception: Table test_edtyebgj.v doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:743: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc9b86 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:02.350122 [ 8181 ] {652f3571-8654-492b-b509-b54258408a80} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f601fef8000, frame address: 0x7f60202f7ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56360) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1fc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b2d2084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6a6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff004 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 2024.03.06 01:40:02.351670 [ 8181 ] {652f3571-8654-492b-b509-b54258408a80} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f601fef8000, frame address: 0x7f60202f7ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1fc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b2d2084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6a6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff004 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 2024.03.06 01:40:02.355703 [ 5997 ] {a89e56e0-6bc8-408b-83be-4b81e6f944b7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56378) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:02.360007 [ 5997 ] {a89e56e0-6bc8-408b-83be-4b81e6f944b7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:03.068460 [ 8181 ] {ca31a680-9758-4e46-ad1d-7dd11ea851cb} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f601fef8000, frame address: 0x7f60202f7ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56360) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1fc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b2d2084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6a6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff004 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 2024.03.06 01:40:03.069993 [ 8181 ] {ca31a680-9758-4e46-ad1d-7dd11ea851cb} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f601fef8000, frame address: 0x7f60202f7ff0, stack size: 4194320, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:19: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1f1d in /usr/bin/clickhouse 8. /build/src/Interpreters/RewriteCountVariantsVisitor.cpp:22: DB::RewriteCountVariantsVisitor::visit(std::shared_ptr&) @ 0x2b2e1fc1 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeOptimizer.cpp:720: DB::TreeOptimizer::optimizeCountConstantAndSumOne(std::shared_ptr&, std::shared_ptr) @ 0x2b2d2084 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1188: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6a6d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:332: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff004 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:345: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2cdff2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:237: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x2adec844 in /usr/bin/clickhouse 2024.03.06 01:40:03.862968 [ 8181 ] {3b43aae5-bb4c-4574-8f3b-4ccf4bc9988d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56416) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:03.867246 [ 8181 ] {3b43aae5-bb4c-4574-8f3b-4ccf4bc9988d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:05.286454 [ 8181 ] {327c29d0-b2d2-44e3-ad5f-22c1a8da72da} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001896 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56456) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:05.292553 [ 8181 ] {327c29d0-b2d2-44e3-ad5f-22c1a8da72da} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001896 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:06.360094 [ 8181 ] {099c38c1-1a81-4565-b8b0-781b1090b004} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter5113158179617096774, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56480) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 MODIFY COLUMN `Value` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1997dce7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19978af8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199676f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19966a28 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19965c3e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 2024.03.06 01:40:06.361713 [ 8181 ] {099c38c1-1a81-4565-b8b0-781b1090b004} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter5113158179617096774, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x1997dce7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19978af8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x199676f9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19966a28 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19965c3e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 2024.03.06 01:40:06.447146 [ 8181 ] {f318bd0d-f1e8-440f-94e3-61460bfb5d77} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56480) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 ADD COLUMN `Value2` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1075: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e8e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:06.448297 [ 8181 ] {f318bd0d-f1e8-440f-94e3-61460bfb5d77} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1075: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88e8e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:06.651226 [ 8181 ] {a1c9de8d-3399-4466-b70a-877c9f4d7904} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56490) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:06.657101 [ 8181 ] {a1c9de8d-3399-4466-b70a-877c9f4d7904} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:08.063838 [ 8181 ] {7ea63a51-4024-4b10-be2c-6d667816947d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56550) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:08.068449 [ 8181 ] {7ea63a51-4024-4b10-be2c-6d667816947d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:09.421293 [ 5997 ] {19097601-3ec9-4818-80f2-a0ff13c8d954} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56566) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:09.425764 [ 5997 ] {19097601-3ec9-4818-80f2-a0ff13c8d954} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:10.885704 [ 8846 ] {a7315ecf-56d5-410d-a7ca-9a3b860d76b8} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001896 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56604) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:10.890174 [ 8846 ] {a7315ecf-56d5-410d-a7ca-9a3b860d76b8} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001896 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:12.269398 [ 3320 ] {026c6899-e840-4176-8281-59bbb00996c8} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50186) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:12.278770 [ 3320 ] {026c6899-e840-4176-8281-59bbb00996c8} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:13.339378 [ 8846 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:50214). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:13.744305 [ 8846 ] {e593be56-943c-4f37-864d-47d07c5637ed} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50224) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:13.748337 [ 8846 ] {e593be56-943c-4f37-864d-47d07c5637ed} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001928 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:297: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98bf06 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:194: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x2b98aec3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:455: DB::(anonymous namespace)::GenerateSource::generate() @ 0x2b98a341 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:40:16.386015 [ 1779 ] {e268c544-b3c5-4c73-b979-146fe457c551} executeQuery: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50264) (comment: 01512_create_replicate_merge_tree_one_arg.sql) (in query: CREATE TABLE mt (`v` UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01497/mt') ORDER BY tuple() SETTINGS index_granularity = 26462, min_bytes_for_wide_part = 952093009, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12340, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 770614, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 16373780), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x26a2c07e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:428: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5eaa3b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:16.387456 [ 1779 ] {e268c544-b3c5-4c73-b979-146fe457c551} TCPHandler: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x26a2c07e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:428: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5eaa3b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:20.060768 [ 1137 ] {e4bde8b6-d8d5-4a5a-93fb-9d353f155ad0} HashedDictionary: 'prellocate' attribute is obsolete, consider looking at 'shards' 2024.03.06 01:40:31.353341 [ 5997 ] {673fddc8-727b-4b64-9eee-7df03b8b5512} executeQuery: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53794) (comment: 01470_test_insert_select_asterisk.sql) (in query: INSERT INTO insert_select_dst(insert_select_src.* EXCEPT (middle_a, middle_b)) SELECT * FROM insert_select_src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c799 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b4ee in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b417054 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:134: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adebf42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:31.357433 [ 5997 ] {673fddc8-727b-4b64-9eee-7df03b8b5512} TCPHandler: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c799 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b4ee in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b417054 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:134: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adebf42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:33.131670 [ 1779 ] {101e88a6-8507-401a-a80d-dd487d93b624} executeQuery: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37544) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT i, j1 from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:33.132967 [ 1779 ] {101e88a6-8507-401a-a80d-dd487d93b624} TCPHandler: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:33.272147 [ 1779 ] {612d5b17-8276-431e-80c2-e7901a6dc074} executeQuery: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37544) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT(i, j1) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d3920af in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4b4 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b9ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.273710 [ 1779 ] {612d5b17-8276-431e-80c2-e7901a6dc074} TCPHandler: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d3920af in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4b4 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b9ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.431605 [ 1779 ] {82273bfd-304a-41d8-9627-3084c93a1809} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37544) (comment: 01470_columns_transformers.sql) (in query: SELECT * REPLACE STRICT(i + 1 AS col) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d39457d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b9ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.433414 [ 1779 ] {82273bfd-304a-41d8-9627-3084c93a1809} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d39457d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:269: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35b9ee in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.717976 [ 1779 ] {26f58d62-42c2-489b-b63d-5b3763207f8d} executeQuery: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37544) (comment: 01470_columns_transformers.sql) (in query: SELECT columns_transformers.* REPLACE(j + 1 AS j, j + 2 AS j) APPLY(avg) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [98]) @ 0x2ba276fe in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d393e84 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c22e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.719430 [ 1779 ] {26f58d62-42c2-489b-b63d-5b3763207f8d} TCPHandler: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [98]) @ 0x2ba276fe in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d393e84 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c22e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.917946 [ 1779 ] {51d98411-71fe-4128-9d77-5edbaaa4da22} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37544) (comment: 01470_columns_transformers.sql) (in query: SELECT a.* APPLY(toDate) REPLACE STRICT(i + 1 AS i) APPLY(any) from columns_transformers a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d39457d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c22e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:33.919606 [ 1779 ] {51d98411-71fe-4128-9d77-5edbaaa4da22} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x2d39457d in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x2d38d4e7 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:321: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35c22e in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x2b35ac79 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2c7880 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a61 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2c7b06 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2c7a6e in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c780a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c76a5 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:308: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&, std::unordered_map, std::equal_to, std::allocator>> const&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x2b2b87fc in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6c74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:35.121524 [ 8181 ] {6527110c-75df-4e43-9738-2bcf20dc078f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 515.32 MiB (attempt to allocate chunk of 134295776 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50238) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: select key, groupArray(repeat('a', 200)), count() from data_01513 group by key format Null settings optimize_aggregation_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x19f68c04 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:121: DB::Arena::addMemoryChunk(unsigned long) @ 0x19f6a79a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:171: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x1a99eec2 in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:278: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x22d3708d in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22d48420 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22d48267 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x22d480c7 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:199: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x22d47fed in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x22d97b29 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:518: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x22d95fe4 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:465: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x22d9672b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a337ccc in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d179f in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cc2a in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 01:40:35.159521 [ 8181 ] {6527110c-75df-4e43-9738-2bcf20dc078f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 515.32 MiB (attempt to allocate chunk of 134295776 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x19f68c04 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:121: DB::Arena::addMemoryChunk(unsigned long) @ 0x19f6a79a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:171: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x1a99eec2 in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:278: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x22d3708d in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22d48420 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x22d48267 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x22d480c7 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:199: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x22d47fed in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x22d97b29 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:518: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x22d95fe4 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:465: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x22d9672b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1298: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a337ccc in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1085: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d179f in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cc2a in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 01:40:35.915542 [ 8094 ] {9a49cd9e-77e0-41af-9b13-ff88f5e1270c} executeQuery: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37660) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 DETACH PART 'all_100_100_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:35.916451 [ 8094 ] {9a49cd9e-77e0-41af-9b13-ff88f5e1270c} TCPHandler: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:36.354109 [ 8094 ] {5c550776-83cb-4277-b888-0887c6e6dae4} executeQuery: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37660) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 ATTACH PART 'all_4_4_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7230: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x2c1921bc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5590: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x2c192329 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1793: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60ccbd in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4823: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ac70 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:36.355108 [ 8094 ] {5c550776-83cb-4277-b888-0887c6e6dae4} TCPHandler: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7230: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x2c1921bc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5590: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x2c192329 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1793: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60ccbd in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:4823: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18ac70 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:38.500386 [ 8851 ] {47122582-63b8-4297-a893-6fb7cc282415} executeQuery: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37748) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, 65535);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x1d680b6c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d69c7ed in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:38.501709 [ 8851 ] {47122582-63b8-4297-a893-6fb7cc282415} TCPHandler: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x1d680b6c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d69c7ed in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:38.613078 [ 8851 ] {dbe177d5-0b80-41ec-bbdf-70575d4b1ead} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37748) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cbbf608 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d69cfd1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:40:38.614203 [ 8851 ] {dbe177d5-0b80-41ec-bbdf-70575d4b1ead} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cbbf608 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d69cfd1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:40:38.790928 [ 8851 ] {d93aebfe-4ba4-40f0-b0c0-3ef9665763de} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37748) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cbbf608 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d69cfd1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:40:38.792063 [ 8851 ] {d93aebfe-4ba4-40f0-b0c0-3ef9665763de} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x1cbbf608 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d69cfd1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:40:39.718162 [ 1779 ] {6d254bf1-b3bf-4cc7-85c9-634d9daafe23} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37762) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297c76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a15e210 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a15ce14 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a15ba7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:39.719888 [ 1779 ] {6d254bf1-b3bf-4cc7-85c9-634d9daafe23} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297c76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a15e210 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a15ce14 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a15ba7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:41.082993 [ 1779 ] {49fc9b86-92b3-4f12-9169-345644018bbe} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37762) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297c76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22295dd2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1289: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a176011 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1759d4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2189: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1746dc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:40:41.084482 [ 1779 ] {49fc9b86-92b3-4f12-9169-345644018bbe} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297c76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:682: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x22295dd2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1289: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a176011 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1759d4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2189: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1746dc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:40:41.747588 [ 1008 ] {ec60e241-133f-422a-9083-4a8e436ff7e4} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43562) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToChildren(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d692ec6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:41.749354 [ 1008 ] {ec60e241-133f-422a-9083-4a8e436ff7e4} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d692ec6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:41.881187 [ 1008 ] {a9965baa-5d92-4239-a3f9-c00eaca99605} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43562) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToParent(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6977d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:41.882821 [ 1008 ] {a9965baa-5d92-4239-a3f9-c00eaca99605} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d6977d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:40:43.325520 [ 8851 ] {9591425f-f589-423b-81c0-9b917fb504f5} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43614) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29aaf17a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29aabfd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29b37e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19fd0ec1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19fcb476 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fb7299 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb65c8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb57de in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.468409 [ 5997 ] {cb48fa91-823b-4cf0-bc81-d46bab64b684} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2000-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43626) (comment: 01424_parse_date_time_bad_date.sql) (in query: select parseDateTime64BestEffort('2.55');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x222a1b88 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229f4d3 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:602: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297dd6 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a1834d0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.598347 [ 8846 ] {7c4aca4e-a3ee-4a1b-bedf-f0cf1a053dea} executeQuery: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43636) (comment: 01421_assert_in_in.sql) (in query: SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b3bcaac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:79: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x2b3b11e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:213: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad6ff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:290: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a1035d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:418: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f90fe in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:456: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f8812 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:40:43.598978 [ 8851 ] {9591425f-f589-423b-81c0-9b917fb504f5} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29aaf17a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29aabfd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29b37e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19fd0ec1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19fcb476 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fb7299 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb65c8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb57de in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.599197 [ 5997 ] {cb48fa91-823b-4cf0-bc81-d46bab64b684} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2000-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x222a1b88 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229f4d3 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:602: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x22297dd6 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a1834d0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.599822 [ 8846 ] {7c4aca4e-a3ee-4a1b-bedf-f0cf1a053dea} TCPHandler: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b3bcaac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:79: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x2b3b11e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:213: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad6ff in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:290: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a1035d6 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:418: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f90fe in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:456: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f8812 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:40:43.608612 [ 8851 ] {2d1a329b-bd6b-48f7-a8ab-5570a81297dd} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43614) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29aaf17a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29aabfd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29b37e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19fd0ec1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19fcb476 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fb7299 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb65c8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb57de in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.610177 [ 8851 ] {2d1a329b-bd6b-48f7-a8ab-5570a81297dd} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x29aaf17a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x29aabfd3 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x29b37e7e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1318: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x19fd0ec1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1922: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19fcb476 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19fb7299 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb65c8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19fb57de in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:43.820969 [ 8851 ] {9219c837-c253-461e-9345-9933382de199} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43614) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-9' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x19a816dc in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x19a81325 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2df4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2ba9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19fd288f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19fd2702 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19fd260e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19fd259c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19fd242d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19fd2240 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19fd21fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19fd21bd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19fd217d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19fd2145 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19fd1f7b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19fb5f3a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:40:43.822774 [ 8851 ] {9219c837-c253-461e-9345-9933382de199} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x19a816dc in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x19a81325 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2df4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2ba9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19fd288f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19fd2702 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19fd260e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19fd259c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19fd242d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19fd2240 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19fd21fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19fd21bd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19fd217d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19fd2145 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19fd1f7b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19fb5f3a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:40:43.833005 [ 8851 ] {984d8f19-d682-4473-a620-a42c3f191231} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43614) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-10' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x19a816dc in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x19a81325 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2df4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2ba9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19fd288f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19fd2702 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19fd260e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19fd259c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19fd242d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19fd2240 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19fd21fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19fd21bd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19fd217d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19fd2145 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19fd1f7b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19fb5f3a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:40:43.834767 [ 8851 ] {984d8f19-d682-4473-a620-a42c3f191231} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds: While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:76: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x19a816dc in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x19a81325 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2df4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x19fd2ba9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x19fd288f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x19fd2702 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x19fd260e in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:261: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x19fd259c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1781: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19fd242d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19fd2240 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19fd21fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19fd21bd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19fd217d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19fd2145 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19fd1f7b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19fb5f3a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:40:45.585854 [ 8181 ] {0a8acbaf-a730-4f26-bc44-cd6f8d840b0a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 482.93 MiB (attempt to allocate chunk of 8650752 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50238) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: -- for WITH TOTALS previous groups should be kept. select key, groupArray(repeat('a', 200)), count() from data_01513 group by key with totals format Null settings optimize_aggregation_in_order=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x2217da59 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a98c2 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnString.h:158: DB::ColumnString::insertData(char const*, unsigned long) @ 0x19e9286a in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:398: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x22d6fe81 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:664: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22d965a8 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x2b4f652d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x2ce14fec in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd327d in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 2024.03.06 01:40:45.613756 [ 8181 ] {0a8acbaf-a730-4f26-bc44-cd6f8d840b0a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 482.93 MiB (attempt to allocate chunk of 8650752 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x2217da59 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:168: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a98c2 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnString.h:158: DB::ColumnString::insertData(char const*, unsigned long) @ 0x19e9286a in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:398: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x22d6fe81 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:664: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x22d965a8 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x2b4f652d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x2ce14fec in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x2cdd327d in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 21. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x2cdd2d1d in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 2024.03.06 01:40:48.510460 [ 8851 ] {6fbefb24-85d7-4b32-9755-74e95ed15cbd} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_null (`id` Nullable(String)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.512067 [ 8851 ] {6fbefb24-85d7-4b32-9755-74e95ed15cbd} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.529928 [ 8851 ] {c710d415-2527-4162-9920-016669798ebc} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_lc_null (`id` LowCardinality(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.531433 [ 8851 ] {c710d415-2527-4162-9920-016669798ebc} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.548437 [ 8851 ] {ea54850c-80a9-4baa-9068-fb8f01dc59ca} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_array_null (`id` Array(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.549912 [ 8851 ] {ea54850c-80a9-4baa-9068-fb8f01dc59ca} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.567428 [ 8851 ] {c274a195-942e-4014-b992-bccb338086bc} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_tuple_null (`id` Tuple(Nullable(String), UInt8)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.568811 [ 8851 ] {c274a195-942e-4014-b992-bccb338086bc} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.587110 [ 8851 ] {4c3bca0b-921e-4c11-8d78-ee212351ee53} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_map_null (`id` Map(UInt8, Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.588532 [ 8851 ] {4c3bca0b-921e-4c11-8d78-ee212351ee53} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.610347 [ 8851 ] {0f6949fd-95a2-4a44-8dfc-1f5ed3621a54} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43734) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_simple_agg_state_null (`id` SimpleAggregateFunction(sum, Nullable(UInt64))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 7341, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12458, prefer_fetch_merged_part_size_threshold = 8912339028, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 8963955), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:48.612097 [ 8851 ] {0f6949fd-95a2-4a44-8dfc-1f5ed3621a54} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:437: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x2c144dfe in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:558: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144849 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:40:49.215529 [ 8851 ] {75975ce0-5eb5-4843-836e-71d3f6d6b72a} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43786) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- empty string still not acceptable SELECT CAST(CAST('' AS Nullable(String)) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e458e2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45646 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e455ac in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e454e8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5d382 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d1a6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d0e0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5d08b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 2024.03.06 01:40:49.217871 [ 8851 ] {75975ce0-5eb5-4843-836e-71d3f6d6b72a} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e458e2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45646 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e455ac in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45540 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e454e8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5d382 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d1a6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d0e0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5d08b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 2024.03.06 01:40:49.475260 [ 8851 ] {eeb7110c-6580-4e64-a97d-301ad0cb8fb6} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43786) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST('' AS Nullable(FixedString(1))) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e461c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45e8c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45e20 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e45dc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5d382 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d1a6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d0e0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5d08b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 2024.03.06 01:40:49.477948 [ 8851 ] {eeb7110c-6580-4e64-a97d-301ad0cb8fb6} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x29ab8b0a in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3655: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e461c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45f26 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45e8c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e45e20 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e45dc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3828: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5d382 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d1a6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5d0e0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5d08b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 2024.03.06 01:40:49.681215 [ 8851 ] {3f66a9b6-3ec0-4123-acd9-162875002e55} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43786) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- non-Nullable Enum() still not acceptable SELECT CAST(CAST(NULL AS Nullable(String)) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5dcc4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5db46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5dae0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5da80 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5da2b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:49.682991 [ 8851 ] {3f66a9b6-3ec0-4123-acd9-162875002e55} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5dcc4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5db46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5dae0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5da80 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5da2b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:49.693743 [ 8851 ] {314bf60f-6830-4dfe-8560-05d8593370fd} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43786) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST(NULL AS Nullable(FixedString(1))) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5dcc4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5db46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5dae0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5da80 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5da2b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:49.695315 [ 8851 ] {314bf60f-6830-4dfe-8560-05d8593370fd} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3858: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19e5dcc4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5db46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5dae0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19e5da80 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19e5da2b in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:40:50.707803 [ 1008 ] {} Access(user directories): from: ::1, user: header_test: Authentication failed: Code: 192. DB::Exception: There is no user `header_test` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.787367 [ 1008 ] {} DynamicQueryHandler: Code: 516. DB::Exception: header_test: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.819452 [ 1008 ] {} Access(user directories): from: ::1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.820364 [ 1008 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.850756 [ 1008 ] {} Access(user directories): from: ::1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.851635 [ 1008 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:50.973710 [ 1008 ] {} DynamicQueryHandler: Code: 81. DB::Exception: Database header_test doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:407: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x2a004652 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1645: DB::Context::setCurrentDatabase(String const&) @ 0x29ef9cc9 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:765: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ae543 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:51.105992 [ 1008 ] {7faca65c-1730-4703-a0fd-3dd17ed37629} executeQuery: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44322) (comment: 01399_http_request_headers.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c85b79c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:343: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x2c85ccfb in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1295: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dda7e in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.107256 [ 1008 ] {7faca65c-1730-4703-a0fd-3dd17ed37629} DynamicQueryHandler: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c85b79c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:343: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x2c85ccfb in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1295: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dda7e in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:40:51.594505 [ 5997 ] {cb765bd2-125a-43ea-bea3-51c1250b4f33} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34442) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.595606 [ 5997 ] {cb765bd2-125a-43ea-bea3-51c1250b4f33} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.746672 [ 5997 ] {ea66243e-fee3-4aec-a03c-bf2bf36265aa} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34442) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.747805 [ 5997 ] {ea66243e-fee3-4aec-a03c-bf2bf36265aa} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.969597 [ 5997 ] {8f23d2eb-3717-4bd1-b968-0dcdf01e3b95} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34442) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.969615 [ 8850 ] {15a6be04-895e-4e7a-be17-901fb1dd8790} executeQuery: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34458) (comment: 01386_negative_float_constant_key_condition.sql) (in query: SELECT t0.c1 FROM t0 WHERE NOT (t0.c1 OR (t0.c0 AND -1.0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [65]) @ 0x1c90461e in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x298debef in /usr/bin/clickhouse 7. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298de5c9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298de3bd in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x29e6d0b6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x29e6cf56 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x29e6cae1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x29e67ca2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e9ad68 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1967: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0caae2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:40:51.970813 [ 5997 ] {8f23d2eb-3717-4bd1-b968-0dcdf01e3b95} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1194: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b8908c9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:40:51.971716 [ 8850 ] {15a6be04-895e-4e7a-be17-901fb1dd8790} TCPHandler: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [65]) @ 0x1c90461e in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x298debef in /usr/bin/clickhouse 7. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298de5c9 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x298de3bd in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x29e6d0b6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x29e6cf56 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x29e6cae1 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x29e67ca2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x29e9ad68 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1967: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0caae2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:40:52.639395 [ 5997 ] {9d61e7b0-fa1e-4aba-a046-4c47ed2672e1} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197afd5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed914f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.640951 [ 5997 ] {9d61e7b0-fa1e-4aba-a046-4c47ed2672e1} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197afd5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed914f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.799511 [ 5997 ] {b72f8942-b3a5-4db4-8927-bbf29dcb68ed} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(2, 0, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a1c0c5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed91bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.801401 [ 5997 ] {b72f8942-b3a5-4db4-8927-bbf29dcb68ed} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a1c0c5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed91bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.819896 [ 5997 ] {b7fae33e-b674-45d3-94fd-665b9b37373b} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 1, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197afd5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed914f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.821354 [ 5997 ] {b7fae33e-b674-45d3-94fd-665b9b37373b} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [40]) @ 0x197afd5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed914f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.838522 [ 5997 ] {d6429ed1-a36f-4f68-8687-5fb172831025} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(1, 0, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a1c0c5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed91bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.839862 [ 5997 ] {d6429ed1-a36f-4f68-8687-5fb172831025} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [61]) @ 0x1a1c0c5e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed91bd in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:52.998665 [ 5997 ] {8c8353d3-79bc-40cd-84be-4842789e85bc} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0.1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302bb9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:40:53.000347 [ 5997 ] {8c8353d3-79bc-40cd-84be-4842789e85bc} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302bb9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:40:53.018516 [ 5997 ] {383fe6f2-be56-4baa-a001-9e09e30dcbdb} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(-1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302bb9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:40:53.019983 [ 5997 ] {383fe6f2-be56-4baa-a001-9e09e30dcbdb} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:760: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302bb9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 2024.03.06 01:40:53.174822 [ 5997 ] {1740df39-6c43-42f6-99dc-bd601aaebb52} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34470) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(4294967295, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 46585, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.319870263338089, merge_max_block_size = 23869, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 2300168499, index_granularity_bytes = 5377097), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19eaa8b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed9261 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:53.176459 [ 5997 ] {1740df39-6c43-42f6-99dc-bd601aaebb52} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x19eaa8b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x29ed9261 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:767: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x2c302c89 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db68d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x2c2db645 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x2c2db605 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x2c2db5b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x2c2da5ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x2c2d5ae8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x2c2d4466 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:536: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) const @ 0x2c144271 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:563: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool) @ 0x2c141578 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:349: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x2c14093a in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:97: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x2c5f1f13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1aba in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f17b5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1443 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5f1255 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x2c5ef9fb in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:702: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed9b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 2024.03.06 01:40:57.535907 [ 5997 ] {b2f0caa6-4d75-449f-bbe4-a0585f584ba2} executeQuery: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34618) (comment: 01353_neighbor_overflow.sql) (in query: SELECT neighbor(toString(number), -9223372036854775808) FROM numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fdc2eac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fdc1acb in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:40:57.537292 [ 5997 ] {b2f0caa6-4d75-449f-bbe4-a0585f584ba2} TCPHandler: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fdc2eac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fdc1acb in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:40:57.728910 [ 5997 ] {5d4774e0-393e-483a-927c-33e1b0169112} executeQuery: Code: 69. DB::Exception: Too large offset: -6564400262735549100 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34618) (comment: 01353_neighbor_overflow.sql) (in query: WITH neighbor(toString(number), toInt64(rand64())) AS x SELECT * FROM system.numbers WHERE NOT ignore(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fdc2eac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fdc1ef7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cce8dd3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cce8c92 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:40:57.730370 [ 5997 ] {5d4774e0-393e-483a-927c-33e1b0169112} TCPHandler: Code: 69. DB::Exception: Too large offset: -6564400262735549100 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x1fdc2eac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1fdc1ef7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x2cce8dd3 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x2cce8c92 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:40:58.106053 [ 8850 ] {3f842983-f850-4a21-87bc-e0e65081de9f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34652) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:40:58.107517 [ 8850 ] {3f842983-f850-4a21-87bc-e0e65081de9f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:40:59.796968 [ 5997 ] {8309b6c2-3f0c-4688-b662-18ec1843b13a} executeQuery: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34714) (comment: 01352_generate_random_overflow.sql) (in query: SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:500: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x2b98830b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53f33 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53ccd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53999 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d537ee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53214 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:95: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d52f50 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:40:59.798625 [ 5997 ] {8309b6c2-3f0c-4688-b662-18ec1843b13a} TCPHandler: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:500: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x2b98830b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53f33 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53ccd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53999 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d537ee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x28d53214 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:95: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d52f50 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:00.864934 [ 8850 ] {efea6c61-e4bb-4a43-b0ef-553cd12c411c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34764) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:00.866258 [ 8850 ] {efea6c61-e4bb-4a43-b0ef-553cd12c411c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:01.687864 [ 8850 ] {edcd942c-fd0e-4917-aee5-6109a0b92f07} executeQuery: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34332) (comment: 01330_array_join_in_higher_order_function.sql) (in query: SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:654: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a0fa860 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a106fcd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb90b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1268: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff9a5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:41:01.756618 [ 8850 ] {edcd942c-fd0e-4917-aee5-6109a0b92f07} TCPHandler: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:654: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a0fa860 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a106fcd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb90b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1268: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff9a5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:41:03.591741 [ 5997 ] {64fb7e4d-f157-410a-a285-a501620804ab} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34396) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:03.593016 [ 5997 ] {64fb7e4d-f157-410a-a285-a501620804ab} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:05.561939 [ 8850 ] {266ceecf-336d-4748-9720-435d311c77e4} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34478) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b2bb56e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:05.563232 [ 8850 ] {266ceecf-336d-4748-9720-435d311c77e4} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b2bb56e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:05.753868 [ 8850 ] {0458c053-1fcb-406a-ae12-3192ab09690b} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34478) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b2bb56e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:05.754934 [ 8850 ] {0458c053-1fcb-406a-ae12-3192ab09690b} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:748: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x2b2bb56e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7530 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:06.197537 [ 5997 ] {02e267d1-b525-4b3e-ac8d-ebe3f2abed81} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34486) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:06.198836 [ 5997 ] {02e267d1-b525-4b3e-ac8d-ebe3f2abed81} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:07.208766 [ 632 ] {49fc0529-5dae-415b-a661-b6c18395a1a3} executeQuery: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34524) (comment: 01318_alter_add_column_exists.sql) (in query: ALTER TABLE add_table ADD COLUMN value3 UInt64, ADD COLUMN IF NOT EXISTS value3 UInt32;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x2b8a4a6a in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:400: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b8897b2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:07.210165 [ 632 ] {49fc0529-5dae-415b-a661-b6c18395a1a3} TCPHandler: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x2b8a4a6a in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:400: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b8897b2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:09.042744 [ 5997 ] {16caf494-cd9f-4faf-a92d-bf8ba717528f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34574) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:09.043988 [ 5997 ] {16caf494-cd9f-4faf-a92d-bf8ba717528f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:11.828941 [ 5997 ] {16240b3c-743a-4072-9549-7085ef200da9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083151 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33190) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:11.830727 [ 5997 ] {16240b3c-743a-4072-9549-7085ef200da9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083151 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:14.481432 [ 5997 ] {b48c843e-cd0e-46ef-b178-d4a3b18815ba} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33266) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:14.489056 [ 5997 ] {b48c843e-cd0e-46ef-b178-d4a3b18815ba} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:17.182776 [ 632 ] {70634159-f23b-4fe8-b31e-b1e91c2c7c28} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33426) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:17.184545 [ 632 ] {70634159-f23b-4fe8-b31e-b1e91c2c7c28} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:19.018711 [ 8850 ] {first-01317_no_password_in_command_line_test_6jfbi6x5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33300) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:19.020816 [ 8850 ] {first-01317_no_password_in_command_line_test_6jfbi6x5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:19.901404 [ 18079 ] {cb998e50-88bb-42e9-9596-1df3f04a0d13} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33554) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:19.903511 [ 18079 ] {cb998e50-88bb-42e9-9596-1df3f04a0d13} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083023 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:41:22.348577 [ 18079 ] {378068f1-f3ce-4139-8a2e-035e9668e10c} executeQuery: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55140) (comment: 01294_create_settings_profile.sql) (in query: SHOW CREATE SETTINGS PROFILE s2_01294;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:77: ? @ 0x292a63b3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x2b48d743 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:340: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x2b48c8f8 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:252: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x2b48c1db in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:244: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x2b48c10b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:22.349781 [ 18079 ] {378068f1-f3ce-4139-8a2e-035e9668e10c} TCPHandler: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:77: ? @ 0x292a63b3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:330: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x2b48d743 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:340: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x2b48c8f8 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:252: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x2b48c1db in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:244: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x2b48c10b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:22.695397 [ 18081 ] {f2b0528a-9a50-46cd-9909-2abde7f2aaa2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55162) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:41:22.697216 [ 18081 ] {f2b0528a-9a50-46cd-9909-2abde7f2aaa2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:41:23.432114 [ 18080 ] {second-01317_no_password_in_command_line_test_6jfbi6x5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33594) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:23.434594 [ 18080 ] {second-01317_no_password_in_command_line_test_6jfbi6x5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:25.407879 [ 18083 ] {53f47948-25a7-44d9-aa19-583e92fc5dcf} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55252) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:41:25.410325 [ 18083 ] {53f47948-25a7-44d9-aa19-583e92fc5dcf} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:41:26.174453 [ 18087 ] {217b474c-9498-44ee-b42b-ba8f13460424} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 5719000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55274) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2998b14c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x2998a6d1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299891fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:26.180125 [ 18087 ] {217b474c-9498-44ee-b42b-ba8f13460424} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 5719000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2998b14c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x2998a6d1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299891fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:26.337476 [ 18087 ] {dc6d22c5-586a-4c68-a293-8d4845732192} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 45752000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55274) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2998b14c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x2998a845 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299891fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:26.342529 [ 18087 ] {dc6d22c5-586a-4c68-a293-8d4845732192} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 45752000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x2998b14c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x2998a845 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:121: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x299891fe in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:26.571343 [ 18089 ] {f55ecc15-c9de-44c9-9f93-c73528913447} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x212794bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:26.572534 [ 18089 ] {f55ecc15-c9de-44c9-9f93-c73528913447} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x212794bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:26.686106 [ 18089 ] {4ad2920f-9447-49e3-86d4-7729d72ab88a} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select port('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x21279690 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:26.687187 [ 18089 ] {4ad2920f-9447-49e3-86d4-7729d72ab88a} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x21279690 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:26.801405 [ 18089 ] {c071acc7-831c-46a7-b3c1-c0bc7606f07c} executeQuery: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select port('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127933f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:26.802560 [ 18089 ] {c071acc7-831c-46a7-b3c1-c0bc7606f07c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127933f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.131292 [ 18089 ] {3f24cdf1-538f-4dda-b309-ed8faf2bf68a} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x212794bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.133283 [ 18089 ] {3f24cdf1-538f-4dda-b309-ed8faf2bf68a} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x212794bd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.279805 [ 18089 ] {d9309c6d-1e32-4abc-ae4d-d4c2f0826156} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select portRFC('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127b150 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.283069 [ 18089 ] {d9309c6d-1e32-4abc-ae4d-d4c2f0826156} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127b150 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.420017 [ 18089 ] {f051b113-941e-4f74-a54d-cb26c9dcb307} executeQuery: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55278) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select portRFC('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127adff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:27.430095 [ 18089 ] {f051b113-941e-4f74-a54d-cb26c9dcb307} TCPHandler: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127adff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:28.652111 [ 18088 ] {89aa59a1-fa01-4092-a85d-7382c8b878e5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145519 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55324) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22287fc5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22287e56 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x298e38a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x298e579a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197aeb78 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x197c1ad3 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29b6b43b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29b1ca42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bc8195c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bc81467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 2024.03.06 01:41:28.663187 [ 18088 ] {89aa59a1-fa01-4092-a85d-7382c8b878e5} FileChecker: Will truncate file store/bc7/bc782a19-9e60-420c-a6b1-fafe3ccdf156/x.bin that has size 4001641 to size 0 2024.03.06 01:41:28.666250 [ 18088 ] {89aa59a1-fa01-4092-a85d-7382c8b878e5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145519 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22287fc5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22287e56 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x298e38a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x298e579a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197aeb78 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x197c1ad3 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29b6b43b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29b1ca42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bc8195c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bc81467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 2024.03.06 01:41:29.113040 [ 18081 ] {482d0e3d-4ab6-4c96-bef7-e8e17a34465b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: -- Error cases SELECT parseDateTime64BestEffort();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:41:29.114765 [ 18081 ] {482d0e3d-4ab6-4c96-bef7-e8e17a34465b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:41:29.256665 [ 18081 ] {87ecdc9c-93c7-44d5-b7ee-865d2e09fe7c} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort(123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.258238 [ 18081 ] {87ecdc9c-93c7-44d5-b7ee-865d2e09fe7c} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.393306 [ 18081 ] {eb9ae3cc-173c-4d21-8622-b21abcbd638f} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x2229798c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a1834d0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:41:29.394841 [ 18081 ] {eb9ae3cc-173c-4d21-8622-b21abcbd638f} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x2229e858 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x2229798c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:660: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e1a4 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:701: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x2229e153 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1283: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a1834d0 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:41:29.526904 [ 18081 ] {0c618deb-5f55-4ab7-97bf-fac10e318b68} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.528322 [ 18081 ] {0c618deb-5f55-4ab7-97bf-fac10e318b68} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.536447 [ 18081 ] {e5348153-ccbc-4377-b3fb-9d96559da813} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.537815 [ 18081 ] {e5348153-ccbc-4377-b3fb-9d96559da813} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.694708 [ 18081 ] {6677572b-3857-4a66-99d1-a9f334d18f75} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Cannot load time zone baz (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31e70340 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x221cbbfa in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x221c656a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x299b8472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime64.cpp:21: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x299b915c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197dc66f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197dc429 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x197dc10f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x197dbf82 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x197d970e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2078: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a1816a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:41:29.696126 [ 18081 ] {6677572b-3857-4a66-99d1-a9f334d18f75} TCPHandler: Code: 1000. DB::Exception: Exception: Cannot load time zone baz. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:31: Poco::Exception::Exception(String&&, int) @ 0x31e70340 in /usr/bin/clickhouse 3. /build/src/Common/DateLUTImpl.cpp:51: DateLUTImpl::DateLUTImpl(String const&) @ 0x221cbbfa in /usr/bin/clickhouse 4. /build/src/Common/DateLUT.cpp:156: DateLUT::getImplementation(String const&) const @ 0x221c656a in /usr/bin/clickhouse 5. /build/src/Common/DateLUT.h:33: TimezoneMixin::TimezoneMixin(String const&) @ 0x299b8472 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDateTime64.cpp:21: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x299b915c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197dc66f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x197dc429 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x197dc10f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x197dbf82 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x197d970e in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2078: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a1816a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:41:29.706587 [ 18081 ] {6164c04a-841a-492f-9e44-c82c94eaf889} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.708427 [ 18081 ] {6164c04a-841a-492f-9e44-c82c94eaf889} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.718502 [ 18081 ] {0769475a-c90e-4270-be5d-113a64cb25d8} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.720310 [ 18081 ] {0769475a-c90e-4270-be5d-113a64cb25d8} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x2913422a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18128d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:41:29.869172 [ 18081 ] {a8b9f39b-9fc6-4735-830c-a932ea8104b5} executeQuery: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55336) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a183547 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 2024.03.06 01:41:29.870597 [ 18081 ] {a8b9f39b-9fc6-4735-830c-a932ea8104b5} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x1a183547 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2153: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x1a1820d4 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2184: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a180d7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 2024.03.06 01:41:31.823167 [ 18081 ] {613cd798-37b0-4c3a-953c-2e917ed5e4e8} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: -- -- Error cases SELECT fromUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.824270 [ 18081 ] {613cd798-37b0-4c3a-953c-2e917ed5e4e8} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.832239 [ 18081 ] {0a54ca7f-1f11-41dc-9a66-b5e2eeb15ae0} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.833375 [ 18081 ] {0a54ca7f-1f11-41dc-9a66-b5e2eeb15ae0} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.840912 [ 18081 ] {c617968c-d0de-4858-9b81-a48dd4876db8} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.842091 [ 18081 ] {c617968c-d0de-4858-9b81-a48dd4876db8} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:117: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da0eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.974673 [ 18081 ] {43a6e50f-117a-40a5-b3c8-60a4ca9413bb} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.975894 [ 18081 ] {43a6e50f-117a-40a5-b3c8-60a4ca9413bb} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.984182 [ 18081 ] {cced5ce0-00a2-489d-bf71-ee2f3f7d41ed} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.985282 [ 18081 ] {cced5ce0-00a2-489d-bf71-ee2f3f7d41ed} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.992590 [ 18081 ] {5000d960-1dfa-4918-ab3c-51df27f49eef} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:31.993703 [ 18081 ] {5000d960-1dfa-4918-ab3c-51df27f49eef} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.001392 [ 18081 ] {7c9a79f7-61e6-435c-bbe8-790a9c6961cc} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.002442 [ 18081 ] {7c9a79f7-61e6-435c-bbe8-790a9c6961cc} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.010167 [ 18081 ] {a54046c5-0fe1-40dc-9acd-63b11deb3dc9} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.011357 [ 18081 ] {a54046c5-0fe1-40dc-9acd-63b11deb3dc9} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.019296 [ 18081 ] {c013b1b8-a8ab-4c51-85a7-bc6539eaa334} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56352) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:32.020439 [ 18081 ] {c013b1b8-a8ab-4c51-85a7-bc6539eaa334} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x1c9da1a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:41:35.707364 [ 18083 ] {add330fc-947b-46e4-80ec-6c33b42eb96f} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56416) (comment: 01273_h3EdgeAngle_range_check.sql) (in query: SELECT h3EdgeAngle(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x1cbbf848 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d661d3e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:41:35.708803 [ 18083 ] {add330fc-947b-46e4-80ec-6c33b42eb96f} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x1cbbf848 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d661d3e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:41:37.308722 [ 18083 ] {2f6df4c1-389e-4882-871c-8f3697624c5a} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56424) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a Nullable(INT) NULL, b INT NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc6fb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:37.309654 [ 18083 ] {2f6df4c1-389e-4882-871c-8f3697624c5a} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc6fb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:37.317215 [ 18083 ] {f483db02-c5f2-42cb-82e9-d87a225eedae} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56424) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a INT NULL, b Nullable(INT) NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc6fb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:37.318068 [ 18083 ] {f483db02-c5f2-42cb-82e9-d87a225eedae} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [49]) @ 0x1a9bba7e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:500: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc6fb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:37.548117 [ 18083 ] {9ed1e80c-99e4-4132-bbc2-4317e988bcf3} executeQuery: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56424) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE cannot_be_nullable (n Int8, a Array(UInt8)) ENGINE=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x29a96d8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x260599e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x26059961 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x260598e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x26059817 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x260597c6 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x29a9746e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:506: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc708b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:37.558944 [ 18083 ] {9ed1e80c-99e4-4132-bbc2-4317e988bcf3} TCPHandler: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x29a96d8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x260599e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x26059961 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x260598e7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x26059817 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x260597c6 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x29a9746e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:506: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc708b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:44.657091 [ 18088 ] {78a74ba0-c233-4c7d-93c4-ff01b6110ce4} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48770) (comment: 01213_alter_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:44.658039 [ 18088 ] {78a74ba0-c233-4c7d-93c4-ff01b6110ce4} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:44.743510 [ 18088 ] {69ec0406-48d6-4921-ad4a-8dc9e685c724} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48770) (comment: 01213_alter_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:44.744527 [ 18088 ] {69ec0406-48d6-4921-ad4a-8dc9e685c724} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.572794 [ 18088 ] {12387ba1-55ba-42a6-90e1-bd92e5c4f16d} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48812) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.573770 [ 18088 ] {12387ba1-55ba-42a6-90e1-bd92e5c4f16d} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.668887 [ 18088 ] {fa45c591-686f-4271-86f7-050b8a3439b0} executeQuery: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48812) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1281: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891a79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.670208 [ 18088 ] {fa45c591-686f-4271-86f7-050b8a3439b0} TCPHandler: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [53]) @ 0x1cbca1be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1281: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891a79 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.679032 [ 18088 ] {90558bf2-67ce-451f-a797-01fbf4884d3b} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48812) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN value1 TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.679987 [ 18088 ] {90558bf2-67ce-451f-a797-01fbf4884d3b} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [72]) @ 0x1c0242be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1291: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891bf6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.687250 [ 18088 ] {5a1d3b5b-87e9-44b4-b5f8-2c388369c79f} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48812) (comment: 01213_alter_table_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:46.688356 [ 18088 ] {5a1d3b5b-87e9-44b4-b5f8-2c388369c79f} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1245: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b891286 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:53.323710 [ 18086 ] {fd461ac6-660d-49b7-9be2-7029ecbf5aa1} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082831 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55178) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:53.326112 [ 18086 ] {fd461ac6-660d-49b7-9be2-7029ecbf5aa1} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082831 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:54.596999 [ 18090 ] {} TCPHandler: Code: 164. DB::Exception: Cannot modify 'send_logs_level' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c6bb in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:250: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c086 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:162: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0::operator()(DB::SettingChange&) const @ 0x2938d1a6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__algorithm/find_if.h:25: std::__wrap_iter std::find_if[abi:v15000], DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0&>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0&) @ 0x2938d12b in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:26: std::__wrap_iter std::remove_if, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0) @ 0x2938d019 in /usr/bin/clickhouse 11. /build/contrib/boost/boost/range/algorithm_ext/erase.hpp:50: DB::SettingsChanges& boost::range::remove_erase_if(DB::SettingsChanges&, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const::$_0) @ 0x2938c27b in /usr/bin/clickhouse 12. /build/src/Access/SettingsConstraints.cpp:164: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&) const @ 0x2938c215 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1584: DB::Context::checkSettingsConstraints(DB::SettingsChanges&) const @ 0x29eff185 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1623: DB::TCPHandler::receiveQuery() @ 0x2c840831 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:1371: DB::TCPHandler::receivePacket() @ 0x2c8387c8 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c82faa1 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:55.445618 [ 18086 ] {} DynamicQueryHandler: Code: 164. DB::Exception: Cannot modify 'readonly' setting in readonly mode: , while trying to set settings profile readonly: in attempt to set the value of setting 'profile' to 'readonly'. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:266: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c6bb in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:250: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c086 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:148: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&) const @ 0x2938bb47 in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:152: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&) const @ 0x2938c1b6 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1579: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&) const @ 0x29efb165 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1153: DB::Context::setCurrentProfile(StrongTypedef, DB::UUIDTag> const&) @ 0x29efb055 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1140: DB::Context::setCurrentProfile(String const&) @ 0x29efaf2d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1532: DB::Context::setSetting(std::basic_string_view>, DB::Field const&) @ 0x29efea98 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1546: DB::Context::applySettingChange(DB::SettingChange const&) @ 0x29efec86 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1562: DB::Context::applySettingsChanges(DB::SettingsChanges const&) @ 0x29ef9c17 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:772: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ae5c8 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:56.017640 [ 1008 ] {bf12d5dc-e4b1-4f96-a1d8-9729268c4bab} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082815 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55280) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:56.019538 [ 1008 ] {bf12d5dc-e4b1-4f96-a1d8-9729268c4bab} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082815 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:56.506155 [ 18090 ] {74020d89-c899-4c29-86b6-55fcc69a2e15} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55270) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT toString(number + 1000) FROM numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b9a1128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00c12 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:56.507208 [ 18090 ] {74020d89-c899-4c29-86b6-55fcc69a2e15} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b9a1128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00c12 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:56.518013 [ 18090 ] {c3c1e2e6-9664-4a20-83fe-4539372d6007} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55270) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT arrayJoin(['42', 'test']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b9a1128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00c12 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:56.518900 [ 18090 ] {c3c1e2e6-9664-4a20-83fe-4539372d6007} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:624: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x2b9a1128 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:448: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00c12 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:56.967300 [ 18090 ] {57e6525d-86dc-42f3-aba3-a4b837cbf373} executeQuery: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55270) (comment: 01182_materialized_view_different_structure.sql) (in query: SELECT count(), sum(toInt64(n)), max(n), min(n) FROM dist;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3116: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x197a86cf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4050: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a5d2e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a3fbc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x1979efcd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1979e7fc in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eae0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b393f7d in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b393b68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:203: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x299909d2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:396: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x2998e9fb in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:333: DB::RemoteQueryExecutor::read(std::unique_ptr>&) @ 0x2998fb90 in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:127: DB::RemoteSource::tryGenerate() @ 0x2ce2ac09 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:41:56.978153 [ 1012 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:55936). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:56.978975 [ 18090 ] {57e6525d-86dc-42f3-aba3-a4b837cbf373} TCPHandler: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3116: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x197a86cf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4050: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a5d2e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3800: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x197a3fbc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3726: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x1979efcd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x1979e7fc in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eae0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b393f7d in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x2b393b68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:203: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x299909d2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:396: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x2998e9fb in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:333: DB::RemoteQueryExecutor::read(std::unique_ptr>&) @ 0x2998fb90 in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:127: DB::RemoteSource::tryGenerate() @ 0x2ce2ac09 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 2024.03.06 01:41:56.979304 [ 1011 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:56840). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:58.119412 [ 2688 ] {mysql:0:cabd4e7e-155c-40d1-b5f5-03c3e33c0358} executeQuery: Code: 60. DB::Exception: Table system.table_that_does_not_exist doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58368) (in query: select * from table_that_does_not_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:58.120909 [ 2688 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 60. DB::Exception: Table system.table_that_does_not_exist doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:58.292514 [ 2688 ] {mysql:0:1272e336-5085-4df6-9d56-8efe954f4b35} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58368) (in query: select throwIf(number) from numbers(2) settings max_block_size=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20ecb063 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec95d6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 01:41:58.294423 [ 2688 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20ecb063 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec95d6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:58.402362 [ 2688 ] {mysql:0:6d4f38e1-f939-4741-b737-163f0af625a5} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58368) (in query: select * from system.one format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fdc901e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7fe8c4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe81d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c7fe79d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c7fe765 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b3f1b3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3ea7dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dde28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:58.404231 [ 2688 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fdc901e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7fe8c4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe81d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c7fe79d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c7fe765 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b3f1b3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3ea7dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dde28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:58.411879 [ 2688 ] {mysql:0:382fd9e0-cd14-42e4-aeb1-b4a4b12811ec} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58368) (in query: select * from system.one format JSON), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fdc901e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7fe8c4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe81d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c7fe79d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c7fe765 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b3f1b3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3ea7dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dde28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:58.413405 [ 2688 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [54]) @ 0x1fdc901e in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:360: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3::operator()(DB::QueryResultDetails const&) const @ 0x2c7fe8c4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe81d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_3&, DB::QueryResultDetails const&) @ 0x2c7fe7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x2c7fe79d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x2c7fe765 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x2b3f1b3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x2b3ea7dd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1333: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dde28 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:366: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x2c7fc65b in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:175: DB::MySQLHandler::run() @ 0x2c7f9945 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:58.830808 [ 3320 ] {db7a3d94-3464-4cff-8819-66be20d8ff77} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55316) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:58.832499 [ 3320 ] {db7a3d94-3464-4cff-8819-66be20d8ff77} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:41:58.998133 [ 18083 ] {dd2b886e-b030-4127-9a39-3262a96971f2} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000353018 seconds, maximum: 10. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57926) (comment: 01249_flush_interactive.sh) (in query: SELECT DISTINCT number % 5 FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:41:58.999604 [ 18083 ] {dd2b886e-b030-4127-9a39-3262a96971f2} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000353018 seconds, maximum: 10. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:41:59.001080 [ 18083 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1004: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1f8d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:923: Poco::Net::SocketImpl::error(int) @ 0x31ca2624 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:299: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x31ca31bf in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x31caae5e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x31ca6cb2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:152: Poco::Net::HTTPSession::write(char const*, long) @ 0x31c815ce in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x31c70a0d in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x31c713da in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:236: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71b61 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:235: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x31c71ba0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c85772d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x2c8576b9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x2c85752e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x1973de54 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x1973ddf9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x2c7bb00c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x2c851b7b in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x2c8516b8 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:00.121742 [ 18080 ] {0cc7a2bb-22da-4883-a28e-d8ee6fae7dc2} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.122894 [ 18080 ] {0cc7a2bb-22da-4883-a28e-d8ee6fae7dc2} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.249968 [ 18080 ] {1ae3a919-208d-485e-b796-df8b8cb41613} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.251057 [ 18080 ] {1ae3a919-208d-485e-b796-df8b8cb41613} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.378566 [ 18080 ] {e33ff85f-98f0-4f07-93de-a8a4486225f3} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.379653 [ 18080 ] {e33ff85f-98f0-4f07-93de-a8a4486225f3} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.390763 [ 18080 ] {9cc36bb7-a8d0-4a9f-adf4-0d6ad340969a} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.391805 [ 18080 ] {9cc36bb7-a8d0-4a9f-adf4-0d6ad340969a} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.527520 [ 18080 ] {8f7ac6f2-4b1e-4aae-bb36-faba181eb173} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.528526 [ 18080 ] {8f7ac6f2-4b1e-4aae-bb36-faba181eb173} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.549444 [ 18080 ] {07f8e003-292c-487e-80b0-7d4c3745e610} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.550627 [ 18080 ] {07f8e003-292c-487e-80b0-7d4c3745e610} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.709595 [ 18080 ] {1874b3c5-5c60-4703-806c-fdbd889306e8} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.710730 [ 18080 ] {1874b3c5-5c60-4703-806c-fdbd889306e8} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.722530 [ 18080 ] {a11b14e5-7ad1-4e82-8298-c05c7593ef0d} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.723530 [ 18080 ] {a11b14e5-7ad1-4e82-8298-c05c7593ef0d} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.919618 [ 18080 ] {075a44d5-c8cc-432e-9b9b-393485d689ef} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.921054 [ 18080 ] {075a44d5-c8cc-432e-9b9b-393485d689ef} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.933033 [ 18080 ] {a6223d3a-4e9b-45b2-b375-3bf144816788} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:00.934426 [ 18080 ] {a6223d3a-4e9b-45b2-b375-3bf144816788} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.073191 [ 18080 ] {88dab1a2-32f7-4970-9668-a426cf02e063} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.074524 [ 18080 ] {88dab1a2-32f7-4970-9668-a426cf02e063} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.088602 [ 18080 ] {6003373c-9603-45e9-9323-cc4cbca0912a} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.089918 [ 18080 ] {6003373c-9603-45e9-9323-cc4cbca0912a} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.240048 [ 18080 ] {4e1f09c7-aafd-4e67-8788-318bbf8d5001} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.241265 [ 18080 ] {4e1f09c7-aafd-4e67-8788-318bbf8d5001} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.250321 [ 18080 ] {a8df7fb3-88e0-46e6-962b-290e90ad106e} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.251450 [ 18080 ] {a8df7fb3-88e0-46e6-962b-290e90ad106e} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.386044 [ 18080 ] {3cd0dc9b-a794-4c57-817f-a237401f310b} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.387367 [ 18080 ] {3cd0dc9b-a794-4c57-817f-a237401f310b} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x2a0e2a33 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1084: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c414d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.398796 [ 18080 ] {7a162189-aced-4f20-b118-7aadc7d7af62} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55352) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.400230 [ 18080 ] {7a162189-aced-4f20-b118-7aadc7d7af62} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:542: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x2b2ba9c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b73b0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:01.626597 [ 3320 ] {9eeb0f4e-33b0-4cb7-a192-99f61ea36627} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34058) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:01.627744 [ 3320 ] {9eeb0f4e-33b0-4cb7-a192-99f61ea36627} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:03.821238 [ 8851 ] {9e21bce7-e958-4486-a1b6-983d50851ace} executeQuery: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34102) (comment: 01139_asof_join_types.sql) (in query: select * from (select 0 as k, 'x' as v) t1 asof join (select 0 as k, 'x' as v) t2 using(k, v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x2aff4544 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:276: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool) @ 0x2a6822cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e4502 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e42a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e3faf in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e3e22 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e24ce in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:1055: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c3ac6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:42:03.822761 [ 8851 ] {9e21bce7-e958-4486-a1b6-983d50851ace} TCPHandler: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x2aff4544 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:276: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool) @ 0x2a6822cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e4502 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x2a0e42a9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x2a0e3faf in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x2a0e3e22 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x2a0e24ce in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:1055: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x2a0c3ac6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1221: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x2a0c0df0 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1000: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x2a0c037c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1948: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca73d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:42:04.481328 [ 3320 ] {9a2c112e-d96f-4d9d-bfd3-15e39aa92bf6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34132) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:04.482964 [ 3320 ] {9a2c112e-d96f-4d9d-bfd3-15e39aa92bf6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:05.302955 [ 3320 ] {b2242e03-5fa4-4484-9339-cef3db3cd1d0} executeQuery: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34166) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test1', number FROM system.numbers GROUP BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1804: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a12186d in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:05.308612 [ 3320 ] {b2242e03-5fa4-4484-9339-cef3db3cd1d0} TCPHandler: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x1a9aa82c in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1804: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a12186d in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:05.534739 [ 632 ] {695ac417-8128-474a-a882-97c3550a4f83} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 59.72 thousand. (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34170) (comment: 01131_max_rows_to_sort.sql) (in query: SELECT * FROM system.numbers ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2ccf97dc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:42:05.537184 [ 632 ] {695ac417-8128-474a-a882-97c3550a4f83} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 59.72 thousand. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2ccf97dc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 01:42:05.689437 [ 3320 ] {5551a012-c95a-4c66-9d29-917d5dcc44c7} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34166) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test4', number FROM numbers(1000) GROUP BY number ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2998904a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:05.702430 [ 3320 ] {5551a012-c95a-4c66-9d29-917d5dcc44c7} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2998904a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:07.322891 [ 8851 ] {116e5153-aa1b-4c53-9532-b62875efb8cb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34218) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:07.324055 [ 8851 ] {116e5153-aa1b-4c53-9532-b62875efb8cb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082783 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:08.166996 [ 18079 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x292a9311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a903d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:08.168512 [ 18079 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:08.294604 [ 18087 ] {71eaac0f-9365-4bc4-9dc4-12a1fef369b4} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'default', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:08.295807 [ 18087 ] {71eaac0f-9365-4bc4-9dc4-12a1fef369b4} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:08.618003 [ 18082 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:08.619446 [ 18082 ] {} ServerErrorHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:08.683392 [ 18087 ] {98b40520-de3b-4fb3-a101-8e670011017f} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'nonexistsnt_user_1119', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:08.684582 [ 18087 ] {98b40520-de3b-4fb3-a101-8e670011017f} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:10.076393 [ 18087 ] {0a6a8bf3-2868-4ab2-8b0d-9c71d02284a8} HedgedConnectionsFactory: Connection failed at try №1, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.06 01:42:10.146617 [ 18079 ] {1d36c108-67f9-4eca-b71f-654332e9ab1c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34324) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:10.147861 [ 18079 ] {1d36c108-67f9-4eca-b71f-654332e9ab1c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:11.077433 [ 18087 ] {0a6a8bf3-2868-4ab2-8b0d-9c71d02284a8} HedgedConnectionsFactory: Connection failed at try №2, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.06 01:42:12.078465 [ 18087 ] {0a6a8bf3-2868-4ab2-8b0d-9c71d02284a8} HedgedConnectionsFactory: Connection failed at try №3, reason: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) 2024.03.06 01:42:12.202575 [ 18087 ] {0a6a8bf3-2868-4ab2-8b0d-9c71d02284a8} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' INTERSERVER SECRET ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x2bc7e773 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x2bc7d316 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x28d1a1ba in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:281: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d196c2 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:12.203711 [ 18087 ] {0a6a8bf3-2868-4ab2-8b0d-9c71d02284a8} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) Timeout exceeded while reading from socket (127.0.0.2:9000, receive timeout 1000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x2bc7e773 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:158: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x2bc7d316 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:321: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr) const @ 0x28d1a1ba in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:281: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d196c2 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:12.470303 [ 8850 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.471236 [ 8850 ] {} ServerErrorHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.537153 [ 18087 ] {5f4a88fa-fe98-4f83-85ae-5994b2c2133c} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:12.538274 [ 18087 ] {5f4a88fa-fe98-4f83-85ae-5994b2c2133c} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:328: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x2b1176a9 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1287: DB::TCPHandler::receiveHello() @ 0x2c837f95 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:186: DB::TCPHandler::runImpl() @ 0x2c82d964 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:338: DB::Connection::receiveHello() @ 0x2c6b3fe3 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:172: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x2c6b2b69 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x2c6b47b3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:43: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x2c6e3def in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:138: DB::ConnectionEstablisherAsync::Routine::operator()(boost::context::fiber&&) @ 0x2c6e5b0b in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ee8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::ConnectionEstablisherAsync::Routine&, boost::context::fiber&&) @ 0x2c6e7ea8 in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6e7dde in /usr/bin/clickhouse 16. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6e7c7d in /usr/bin/clickhouse 2024.03.06 01:42:12.709055 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x292a9311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a903d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.710016 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.713894 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x292a9311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a903d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.714728 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.718681 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:711: DB::IAccessStorage::throwInvalidCredentials() @ 0x292a9311 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:494: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a903d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.719473 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.851689 [ 18735 ] {90dd77c3-8ae4-415f-b735-b6269bf26ba6} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.856770 [ 18079 ] {60c6e4dd-8969-46c1-8ce0-91ddef347444} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36670) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:12.858343 [ 18079 ] {60c6e4dd-8969-46c1-8ce0-91ddef347444} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:12.865196 [ 18087 ] {90dd77c3-8ae4-415f-b735-b6269bf26ba6} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.867181 [ 18087 ] {90dd77c3-8ae4-415f-b735-b6269bf26ba6} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.888395 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.889288 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.893223 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.894387 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.899488 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.900655 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.903535 [ 1119 ] {8685c34c-1937-458a-827f-b101dd81c2c2} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.906372 [ 18087 ] {8685c34c-1937-458a-827f-b101dd81c2c2} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=nonexistsnt_user_1119', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.908162 [ 18087 ] {8685c34c-1937-458a-827f-b101dd81c2c2} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.920498 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.921676 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.925084 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.925863 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.930031 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.930944 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.932400 [ 9340 ] {5168b671-8f5d-4f22-910b-74f26b88310c} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.935123 [ 18087 ] {5168b671-8f5d-4f22-910b-74f26b88310c} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+INTERSERVER+SECRET+', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.937364 [ 18087 ] {5168b671-8f5d-4f22-910b-74f26b88310c} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.951034 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.951912 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.955497 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.956354 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.960909 [ 3320 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.961603 [ 3320 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.962900 [ 974 ] {5e5388ec-b8d6-4782-9b18-19038a0fb8ad} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) . (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:12.966306 [ 18087 ] {5e5388ec-b8d6-4782-9b18-19038a0fb8ad} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34240) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+++', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:12.968805 [ 18087 ] {5e5388ec-b8d6-4782-9b18-19038a0fb8ad} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) : While executing ParallelParsingBlockInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x22537944 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:347: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x2253150b in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:46: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x22537711 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:336: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x225313ab in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:315: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x225311c6 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.h:204: std::basic_istream>* DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&) @ 0x261cbfe6 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.h:423: void DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool) @ 0x261ca37d in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.h:468: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x261c71bd in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.h:593: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x261c1f14 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:100: DB::loadAtPosition(DB::ReadBuffer&, DB::Memory>&, char*&) @ 0x22278976 in /usr/bin/clickhouse 16. /build/src/Formats/newLineSegmentationEngine.cpp:19: DB::newLineFileSegmentationEngine(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2ca60cac in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>()(std::declval(), std::declval>&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c7b in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::pair std::__invoke_void_return_wrapper, false>::__call (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long>(std::pair (*&)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9c15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) @ 0x2c9b9bb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x2c9b9b3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Memory>&, unsigned long&&, unsigned long&&) const @ 0x2caa59dc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::operator()(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) const @ 0x2caa0c15 in /usr/bin/clickhouse 23. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:43: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x2ca9f163 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval)>()(std::declval&>())) std::__invoke[abi:v15000]), DB::ParallelParsingInputFormat*&, std::shared_ptr&, void>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), DB::ParallelParsingInputFormat*&, std::shared_ptr&) @ 0x2caa630a in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]), std::tuple>&, 0ul, 1ul>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&, std::__tuple_indices<0ul, 1ul>) @ 0x2caa625e in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]), std::tuple>&>(void (DB::ParallelParsingInputFormat::*&)(std::shared_ptr), std::tuple>&) @ 0x2caa60fd in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x2caa5fd2 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)>()(std::declval(), std::declval>())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&) @ 0x2caa5f35 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()&) @ 0x2caa5f15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2caa5ef5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2caa5ec0 in /usr/bin/clickhouse 2024.03.06 01:42:14.635147 [ 18088 ] {10968d07-6c1c-4540-9a61-7d67b2b4f7ef} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36746) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt.rmt_6657_17838_20547 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea8a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:14.637283 [ 18088 ] {10968d07-6c1c-4540-9a61-7d67b2b4f7ef} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:419: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea8a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.401820 [ 18088 ] {942d86d9-7478-4fe2-898c-c5fc7257a179} executeQuery: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36814) (comment: 01101_literal_column_clash.sql) (in query: with 3 as "1" select 1, "1";), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x2958b4c4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x295829b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x2957ceab in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x2957d113 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:441: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x2a091460 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x2a090077 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df93f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df8a9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df82f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df742 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3dafee in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf3f507 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d7fc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.403025 [ 18088 ] {942d86d9-7478-4fe2-898c-c5fc7257a179} TCPHandler: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x2958b4c4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x295829b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x2957ceab in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x2957d113 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:441: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x2a091460 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x2a090077 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df93f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df8a9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df82f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3df742 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x2c3dafee in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cf3f507 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d7fc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.573360 [ 18083 ] {2c42aa49-3879-448d-847f-6b10d043a7c5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36844) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:15.574763 [ 18083 ] {2c42aa49-3879-448d-847f-6b10d043a7c5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082655 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:173: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae7b7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:42:15.588243 [ 18088 ] {38c66176-cd84-4ebd-9ae5-6d4e6a45e6ca} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36814) (comment: 01101_literal_column_clash.sql) (in query: -- other cases with joins and constants select cast(1, 'UInt8') from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.589880 [ 18088 ] {38c66176-cd84-4ebd-9ae5-6d4e6a45e6ca} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.611645 [ 18088 ] {00c0287d-1b41-4e1d-8656-e6c905d91eb3} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36814) (comment: 01101_literal_column_clash.sql) (in query: select isConstant('UInt8'), toFixedString('hello', toUInt8(substring('UInt8', 5, 1))) from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:15.613340 [ 18088 ] {00c0287d-1b41-4e1d-8656-e6c905d91eb3} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:652: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb05d in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:16.396494 [ 863 ] {} d41ac86d-48d0-44ab-a04a-99813390845e::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199251e7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1991fff8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1990e579 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990d8a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990cabe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b87b518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d761d94 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d76091b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:17.074548 [ 869 ] {} d41ac86d-48d0-44ab-a04a-99813390845e::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199251e7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1991fff8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1990e579 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990d8a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990cabe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b87b518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d761d94 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d76091b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:17.543002 [ 873 ] {} d41ac86d-48d0-44ab-a04a-99813390845e::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199251e7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1991fff8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1990e579 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990d8a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990cabe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b87b518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d761d94 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d76091b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:17.765699 [ 18734 ] {0a899cee-7c9f-4dca-8981-7f58204c4dfc} executeQuery: Code: 57. DB::Exception: Directory for table data store/0b4/0b49f6f2-82a7-4805-a319-7650d9d1357b/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: /* ddl_entry=query-0000000005 */ CREATE TABLE test_ip599xjt_repl_01111_7.rmt_16700_21234_18312 UUID '0b49f6f2-82a7-4805-a319-7650d9d1357b' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fea6df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fe9464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29fe7633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29fdeda4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:17.766905 [ 18734 ] {0a899cee-7c9f-4dca-8981-7f58204c4dfc} DDLWorker(test_ip599xjt_repl_01111_7): Query /* ddl_entry=query-0000000005 */ CREATE TABLE test_ip599xjt_repl_01111_7.rmt_16700_21234_18312 UUID '0b49f6f2-82a7-4805-a319-7650d9d1357b' (`n` Int32) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547 wasn't finished successfully: Code: 57. DB::Exception: Directory for table data store/0b4/0b49f6f2-82a7-4805-a319-7650d9d1357b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 11. /build/src/Interpreters/DDLWorker.cpp:477: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fea6df in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:640: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fe9464 in /usr/bin/clickhouse 13. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29fe7633 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29fdeda4 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:17.855593 [ 18734 ] {} DDLWorker(test_ip599xjt_repl_01111_7): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Unexpected error: Code: 57. DB::Exception: Directory for table data store/0b4/0b49f6f2-82a7-4805-a319-7650d9d1357b/ already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Interpreters/DDLWorker.cpp:660: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x29fe973d in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:422: DB::DDLWorker::scheduleTasks(bool) @ 0x29fe7633 in /usr/bin/clickhouse 8. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x29fdeda4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 12. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:18.172956 [ 875 ] {} d41ac86d-48d0-44ab-a04a-99813390845e::all_4_4_0_5 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'fail' as Int8: syntax error at begin of string. Note: there are toInt8OrZero and toInt8OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION if(equals(n, 3) :: 6, _CAST(multiply(m, toInt8(s)), 'Int32') :: 5, m :: 1) -> if(equals(n, 3), _CAST(multiply(m, toInt8(s)), 'Int32'), m) Int32 : 3'. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt8, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x199251e7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x1991fff8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x1990e579 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990d8a8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt8, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1990cabe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Columns/ColumnFunction.cpp:309: DB::ColumnFunction::reduce() const @ 0x2b6279e8 in /usr/bin/clickhouse 18. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 19. /build/src/Columns/ColumnFunction.cpp:299: DB::ColumnFunction::reduce() const @ 0x2b6277e7 in /usr/bin/clickhouse 20. /build/src/Columns/MaskOperations.cpp:299: DB::maskedExecute(DB::ColumnWithTypeAndName&, DB::PODArray, 63ul, 64ul> const&, DB::MaskInfo const&) @ 0x2b87b518 in /usr/bin/clickhouse 21. /build/src/Functions/if.cpp:1002: DB::(anonymous namespace)::FunctionIf::executeShortCircuitArguments(std::vector>&) @ 0x1d761d94 in /usr/bin/clickhouse 22. /build/src/Functions/if.cpp:1048: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d76091b in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 30. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 31. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:18.380869 [ 18080 ] {b7596fce-a773-4807-87e5-30d6b2f30cad} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.06 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 4.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37008) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:497: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x2bca5358 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:184: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcaea2f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:18.526062 [ 5997 ] {8268a78b-b905-47d4-acc5-6566b6c7a66b} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198)). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36958) (comment: 01095_tpch_like_smoke.sql) (in query: select s_acctbal, s_name, n_name, p_partkey, p_mfgr, s_address, s_phone, s_comment from part, supplier, partsupp, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and p_size = 15 and p_type like '%BRASS' and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' and ps_supplycost = ( select min(ps_supplycost) from partsupp, supplier, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' ) order by s_acctbal desc, n_name, s_name, p_partkey limit 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:18.526313 [ 18080 ] {b7596fce-a773-4807-87e5-30d6b2f30cad} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.06 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 4.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:497: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x2bca5358 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:184: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcaea2f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae634 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae3f1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcae0f7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bcadf6a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bca8a36 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:401: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bca4839 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:18.528887 [ 5997 ] {8268a78b-b905-47d4-acc5-6566b6c7a66b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery198)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:18.798507 [ 862 ] {} test_cwv0zqwl.rmt (ReplicatedMergeTreeQueue): Mutation with version 5 not found in partition ID all (trying to mutate part all_4_4_0) 2024.03.06 01:42:19.842245 [ 1011 ] {e6be8674-65ff-4a46-85b6-6a8b80d0e677} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:6603a3b1-0ae9-4dcb-976c-fe995523683d', current host ID: '984542bbb054:9000:df6b116b-5913-4716-b4b7-d6990a6a87f2'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37080) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ip599xjt_repl_01111_5 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt', '0', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:19.843971 [ 1011 ] {e6be8674-65ff-4a46-85b6-6a8b80d0e677} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:6603a3b1-0ae9-4dcb-976c-fe995523683d', current host ID: '984542bbb054:9000:df6b116b-5913-4716-b4b7-d6990a6a87f2'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:20.453480 [ 1011 ] {4f38ff05-59f5-4357-b490-1582df89fe78} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37138) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ip599xjt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a1bbcfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1d29a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:20.455197 [ 1011 ] {4f38ff05-59f5-4357-b490-1582df89fe78} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [83]) @ 0x1a1bbcfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:946: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1d29a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:21.364007 [ 632 ] {d12a802d-2553-4002-8ddd-7d01160434ea} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 11.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47856) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:42:21.365964 [ 632 ] {d12a802d-2553-4002-8ddd-7d01160434ea} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 11.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:42:21.465963 [ 632 ] {7513f4e5-3fc5-46ce-894a-5fae97d2016d} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:6603a3b1-0ae9-4dcb-976c-fe995523683d', current host ID: '984542bbb054:9000:69122f99-48aa-4e6f-ac3c-42046fb11199'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47866) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ip599xjt_repl_01111_0 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt', '0', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:21.467599 [ 632 ] {7513f4e5-3fc5-46ce-894a-5fae97d2016d} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 0 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:6603a3b1-0ae9-4dcb-976c-fe995523683d', current host ID: '984542bbb054:9000:69122f99-48aa-4e6f-ac3c-42046fb11199'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:23.966858 [ 2033 ] {} DDLWorker(test_ip599xjt_repl_01111_15): Error on initialization of test_ip599xjt_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/969/96945e7c-4ef2-4f18-b25f-fbb8fc2c1bc3/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:25.256123 [ 5997 ] {4f78d3ac-c931-477f-bb52-6e093b9d71c5} executeQuery: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_9gl1xo7h.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery204: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery204): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery204)). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36958) (comment: 01095_tpch_like_smoke.sql) (in query: select s_suppkey, s_name, s_address, s_phone, total_revenue from supplier, revenue0 where s_suppkey = supplier_no and total_revenue = ( select max(total_revenue) from revenue0 ) order by s_suppkey;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:25.257804 [ 5997 ] {4f78d3ac-c931-477f-bb52-6e093b9d71c5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_9gl1xo7h.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery204: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery204): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery204)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:25.595041 [ 5997 ] {8107267a-a46a-41d5-9df1-adbbd9e8db50} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206)). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36958) (comment: 01095_tpch_like_smoke.sql) (in query: select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_partkey = l_partkey and p_brand = 'Brand#23' and p_container = 'MED BOX' and l_quantity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:25.597348 [ 5997 ] {8107267a-a46a-41d5-9df1-adbbd9e8db50} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery206)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:25.631212 [ 2724 ] {} DDLWorker(test_ip599xjt_repl_01111_5): Error on initialization of test_ip599xjt_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:26.194648 [ 5997 ] {7e43de1b-b3db-4312-b512-7f5d4050d69e} executeQuery: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery213)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214)). (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36958) (comment: 01095_tpch_like_smoke.sql) (in query: select s_name, s_address from supplier, nation where s_suppkey in ( select ps_suppkey from partsupp where ps_partkey in ( select p_partkey from part where p_name like 'forest%' ) and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1994-01-01' and l_shipdate < date '1994-01-01' + interval '1' year ) ) and s_nationkey = n_nationkey and n_name = 'CANADA' order by s_name;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:26.196891 [ 5997 ] {7e43de1b-b3db-4312-b512-7f5d4050d69e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery213)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery214)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:42:27.191487 [ 18085 ] {1875be60-676b-4139-88a9-f88f7e2ff53c} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:b6f4aa75-195d-4d3f-ae28-ea0b9da77858', current host ID: '984542bbb054:9000:fd97712d-bea2-4fe0-ae8d-bf5dde91b4da'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48184) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ip599xjt_repl_01111_9 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:27.193747 [ 18085 ] {1875be60-676b-4139-88a9-f88f7e2ff53c} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:b6f4aa75-195d-4d3f-ae28-ea0b9da77858', current host ID: '984542bbb054:9000:fd97712d-bea2-4fe0-ae8d-bf5dde91b4da'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:27.576791 [ 18085 ] {6ff50443-c60a-4cf5-a4ef-f63a6234f759} executeQuery: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 13 queries. Try other replica. (NOT_A_LEADER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48198) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt_repl_01111_5.rmt_30645_11867_28809 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:27.578637 [ 18085 ] {6ff50443-c60a-4cf5-a4ef-f63a6234f759} TCPHandler: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 13 queries. Try other replica. (NOT_A_LEADER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:27.969255 [ 18085 ] {844ac85e-3879-4bd2-9761-8f527fb6ac82} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48214) (comment: 01076_predicate_optimizer_with_view.sql) (in query: SELECT * FROM (SELECT toUInt64(b), sum(id) AS b FROM test) WHERE `toUInt64(sum(id))` = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2af57514 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x2af5336d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:698: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b1dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:42:27.971029 [ 18085 ] {844ac85e-3879-4bd2-9761-8f527fb6ac82} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2af57514 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x2af5336d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:698: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b1dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 2024.03.06 01:42:28.215508 [ 8850 ] {4f343f26-b86b-4b8a-a546-d905c5b58089} executeQuery: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_ip599xjt_repl_01111_5: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48178) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ip599xjt_repl_01111_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:940: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1cc8b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:28.219231 [ 8850 ] {4f343f26-b86b-4b8a-a546-d905c5b58089} TCPHandler: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_ip599xjt_repl_01111_5: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:940: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1cc8b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:28.833974 [ 18085 ] {2d92e6b5-2192-48d0-9ce8-8be873110ad1} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:b6f4aa75-195d-4d3f-ae28-ea0b9da77858', current host ID: '984542bbb054:9000:7bfca8cb-ba87-4bd6-86f6-244e8d140866'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48284) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ip599xjt_repl_01111_2 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:28.835632 [ 18085 ] {2d92e6b5-2192-48d0-9ce8-8be873110ad1} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:b6f4aa75-195d-4d3f-ae28-ea0b9da77858', current host ID: '984542bbb054:9000:7bfca8cb-ba87-4bd6-86f6-244e8d140866'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:28.989206 [ 2033 ] {} DDLWorker(test_ip599xjt_repl_01111_15): Error on initialization of test_ip599xjt_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/969/96945e7c-4ef2-4f18-b25f-fbb8fc2c1bc3/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:30.212580 [ 18087 ] {56847b86-d5e2-4d52-9005-e11eed8fc2f7} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48362) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters MODIFY COLUMN value1 UInt32, DROP COLUMN non_existing_column), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b890bf9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.214265 [ 18087 ] {56847b86-d5e2-4d52-9005-e11eed8fc2f7} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1206: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b890bf9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.459769 [ 2014 ] {} DDLWorker(test_ip599xjt_repl_01111_14): Error on initialization of test_ip599xjt_repl_01111_14: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:30.640380 [ 18087 ] {4b9493e1-b353-48a5-8774-3d2415508a73} executeQuery: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48372) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x221d85e2 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1656: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924cb2 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.641503 [ 18087 ] {4b9493e1-b353-48a5-8774-3d2415508a73} TCPHandler: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x221d85e2 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1656: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924cb2 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.815443 [ 18087 ] {5adad1a5-763a-4eac-85c7-8d09acd82beb} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48372) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.816783 [ 18087 ] {5adad1a5-763a-4eac-85c7-8d09acd82beb} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.828571 [ 18087 ] {dcdf96ba-a567-4d37-9111-3aeb9bc04a46} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48372) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.829786 [ 18087 ] {dcdf96ba-a567-4d37-9111-3aeb9bc04a46} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.971632 [ 18087 ] {f5c0efbf-b5c9-4180-ad07-46af522ebc71} executeQuery: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48372) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071 where key = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1658: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924d29 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:30.973111 [ 18087 ] {f5c0efbf-b5c9-4180-ad07-46af522ebc71} TCPHandler: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [34]) @ 0x197ad3fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1658: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924d29 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:31.153734 [ 18086 ] {8462946d-a8dc-4852-8e41-f2aea8a406f9} executeQuery: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42700) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: SELECT `dist2_layer_01071`.`key`, `dist2_layer_01071`.`sub_key` FROM `test_t3os8mjc`.`dist2_layer_01071` WHERE `key` = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:31.154998 [ 18086 ] {8462946d-a8dc-4852-8e41-f2aea8a406f9} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:31.284795 [ 18087 ] {92e434f7-ee06-49c2-8fba-6dca57b1b056} executeQuery: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48372) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist2_01071 where key = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c6bbd71 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c6f1bb0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1ae8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1aa8 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6f19de in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6f187d in /usr/bin/clickhouse 2024.03.06 01:42:31.289534 [ 18087 ] {92e434f7-ee06-49c2-8fba-6dca57b1b056} TCPHandler: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1660: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2b924de0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:439: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2b923813 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c6bbd71 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c6f1bb0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1ae8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1aa8 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6f19de in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6f187d in /usr/bin/clickhouse 2024.03.06 01:42:31.970172 [ 18087 ] {b5b2e12a-8584-4827-bdb5-0697372cdac3} executeQuery: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 14 queries. Try other replica. (NOT_A_LEADER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55084) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt_repl_01111_15.rmt_26071_14332_2317 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:31.971824 [ 18087 ] {b5b2e12a-8584-4827-bdb5-0697372cdac3} TCPHandler: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 14 queries. Try other replica. (NOT_A_LEADER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:32.000458 [ 3320 ] {5a02b5bc-0c06-4820-877f-8bccff82a5ca} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:805969d1-030a-4024-b896-19fae6f4519e', current host ID: '984542bbb054:9000:f828964c-f4ba-4ec4-9305-65034f7be6b7'. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55096) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ip599xjt_repl_01111_9 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:32.002019 [ 3320 ] {5a02b5bc-0c06-4820-877f-8bccff82a5ca} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ip599xjt already exists. Replica host ID: '984542bbb054:9000:805969d1-030a-4024-b896-19fae6f4519e', current host ID: '984542bbb054:9000:f828964c-f4ba-4ec4-9305-65034f7be6b7'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x29c0189a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:302: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x29be5721 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:451: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x29be8003 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:73: DB::TablesLoader::loadTables() @ 0x29c47788 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:317: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x2abc53ee in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1704: DB::InterpreterCreateQuery::execute() @ 0x2abd783f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:32.253066 [ 3320 ] {00660f58-47b2-46d9-88c4-df877f11f67d} executeQuery: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_5 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55114) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ip599xjt_repl_01111_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1c509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:32.257449 [ 3320 ] {00660f58-47b2-46d9-88c4-df877f11f67d} TCPHandler: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_5 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1c509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:32.647018 [ 868 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:33.039466 [ 868 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:33.174074 [ 871 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:33.452610 [ 865 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:33.634620 [ 18752 ] {} DDLWorker(test_ip599xjt_repl_01111_6): Error on initialization of test_ip599xjt_repl_01111_6: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:34.282612 [ 863 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:35.040987 [ 1012 ] {ee8ba044-eb5e-4792-aacb-8d80a836790f} executeQuery: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_15 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55316) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt_repl_01111_15.rmt_13281_14077_18872 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1249: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd090e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:35.044763 [ 1012 ] {ee8ba044-eb5e-4792-aacb-8d80a836790f} TCPHandler: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_15 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1249: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd090e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:35.215377 [ 872 ] {} ef706af1-6325-449b-8433-acbd7b76a158::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0/): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:35.396136 [ 18736 ] {} DDLWorker(test_ip599xjt_repl_01111_5): Error on initialization of test_ip599xjt_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:35.485462 [ 2014 ] {} DDLWorker(test_ip599xjt_repl_01111_14): Error on initialization of test_ip599xjt_repl_01111_14: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:35.677436 [ 865 ] {} test_k900ss3y.table_for_bad_alters (ReplicatedMergeTreeQueue): There are no mutations for partition ID all (trying to mutate part all_0_0_0 to 1) 2024.03.06 01:42:37.982468 [ 8842 ] {b2209f66-224a-432d-aca9-c72b5c9e85e8} executeQuery: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 21 queries. Try other replica. (NOT_A_LEADER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55576) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt_repl_01111_14.rmt_24224_28016_25917 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:37.984957 [ 8842 ] {b2209f66-224a-432d-aca9-c72b5c9e85e8} TCPHandler: Code: 529. DB::Exception: Cannot enqueue query on this replica, because it has replication lag of 21 queries. Try other replica. (NOT_A_LEADER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&&) @ 0x29919b93 in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:251: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x29c142af in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:661: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x29bed3a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1257: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd0cba in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:38.415564 [ 8844 ] {5391dc99-e3d7-4716-b6fe-3859bc0b5175} executeQuery: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_1 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55616) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ip599xjt_repl_01111_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1c509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:38.415567 [ 8842 ] {e0bddc2d-07c8-481f-9705-ba7b0743e3af} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55586) (comment: 01065_if_not_finite.sql) (in query: SELECT ifNotFinite(1234567890123456789, -1234567890123456789);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29b04b06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29b04484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b093d8 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d761a45 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:41: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x1d948883 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:42:38.416880 [ 8842 ] {e0bddc2d-07c8-481f-9705-ba7b0743e3af} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29b04b06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29b04484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b093d8 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d761a45 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:41: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x1d948883 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 01:42:38.417407 [ 8844 ] {5391dc99-e3d7-4716-b6fe-3859bc0b5175} TCPHandler: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_1 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:933: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1c509 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:40.417870 [ 18736 ] {} DDLWorker(test_ip599xjt_repl_01111_5): Error on initialization of test_ip599xjt_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:40.506939 [ 2014 ] {} DDLWorker(test_ip599xjt_repl_01111_14): Error on initialization of test_ip599xjt_repl_01111_14: Code: 57. DB::Exception: Directory for table data store/969/96945e7c-4ef2-4f18-b25f-fbb8fc2c1bc3/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:40.861100 [ 632 ] {71d4b1ca-6179-489e-bed1-2e4c856c2481} executeQuery: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_6 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55852) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ip599xjt_repl_01111_6.rmt_15862_25158_5256 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 23575, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12613, prefer_fetch_merged_part_size_threshold = 8921059859, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 8837949544, index_granularity_bytes = 19274547), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1249: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd090e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:40.862664 [ 632 ] {71d4b1ca-6179-489e-bed1-2e4c856c2481} TCPHandler: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_6 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1249: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd090e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:41.090787 [ 1011 ] {71324f37-441c-4702-b9bd-ba471c58ac30} executeQuery: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_6 doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55860) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: insert into test_ip599xjt_repl_01111_6.rmt_16720_1338_11469 values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x29f0ea98 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:536: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d618c in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:41.091021 [ 632 ] {89bbf25d-8b90-4b93-8d4d-6016ae6041fd} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0_1/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56856) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: SELECT distinct(value2) FROM table_for_bad_alters), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse 2024.03.06 01:42:41.092483 [ 1011 ] {71324f37-441c-4702-b9bd-ba471c58ac30} TCPHandler: Code: 81. DB::Exception: Database test_ip599xjt_repl_01111_6 doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:420: DB::DatabaseCatalog::assertDatabaseExistsUnlocked(String const&) const @ 0x2a0047cd in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:522: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x2a006192 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:3535: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x29f0ea98 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:536: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d618c in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:41.094702 [ 632 ] {89bbf25d-8b90-4b93-8d4d-6016ae6041fd} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/ef7/ef706af1-6325-449b-8433-acbd7b76a158/all_0_0_0_1/): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1126: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x197c03c3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1341: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19866ee7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19861cf8 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x198505d9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984f908 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1984eb1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197df8f0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df886 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df820 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x197df7c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x197df76b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:776: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x2a09466e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b402a16 in /usr/bin/clickhouse 2024.03.06 01:42:42.580721 [ 1011 ] {95bab4ad-b6a4-4952-837f-7f318a040c31} executeQuery: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_ip599xjt_repl_01111_5: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56878) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ip599xjt_repl_01111_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:940: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1cc8b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:42.583343 [ 1011 ] {95bab4ad-b6a4-4952-837f-7f318a040c31} TCPHandler: Code: 159. DB::Exception: SYNC DATABASE REPLICA test_ip599xjt_repl_01111_5: database is readonly or command timed out. See the 'receive_timeout' setting. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:940: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x2af1cc8b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:522: DB::InterpreterSystemQuery::execute() @ 0x2af12f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:42.584188 [ 1011 ] {95bab4ad-b6a4-4952-837f-7f318a040c31} TCPHandler: Client has gone away. 2024.03.06 01:42:44.546986 [ 632 ] {c63b4770-a075-4f35-96c5-676128dc4155} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34624) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:44.548115 [ 632 ] {c63b4770-a075-4f35-96c5-676128dc4155} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:44.563424 [ 632 ] {829b0fb1-736f-4e41-908b-57756f8b0df0} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34640) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:44.564436 [ 632 ] {829b0fb1-736f-4e41-908b-57756f8b0df0} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:45.442813 [ 18736 ] {} DDLWorker(test_ip599xjt_repl_01111_5): Error on initialization of test_ip599xjt_repl_01111_5: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:45.577685 [ 8851 ] {0de03a04-a4bc-44c0-bb3b-f1cf6b35bdb7} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57056) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters DROP INDEX idx2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:554: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88a553 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:45.577962 [ 2014 ] {} DDLWorker(test_ip599xjt_repl_01111_14): Error on initialization of test_ip599xjt_repl_01111_14: Code: 57. DB::Exception: Directory for table data store/1cf/1cf92cbc-3164-41ce-8420-d6284e893950/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1368: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd42a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:950: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int) @ 0x29bf4178 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:115: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x29c11fd4 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x29c10c5b in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1114: DB::DDLWorker::runMainThread() @ 0x29fde7ad in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x29ffbaa9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x29ffba2d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x29ffb97d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x29ffb8b2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x29ffb815 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x29ffb7f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x29ffb7d5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x29ffb7a0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:42:45.579378 [ 8851 ] {0de03a04-a4bc-44c0-bb3b-f1cf6b35bdb7} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x1c0cebcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:554: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88a553 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:46.059310 [ 5997 ] {efa793b8-356a-429c-9634-cf04a09f7664} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57090) (comment: 01052_array_reduce_exception.sql) (in query: SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x25da27c7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21bba0ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:42:46.061105 [ 5997 ] {efa793b8-356a-429c-9634-cf04a09f7664} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x25da27c7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21bba0ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:42:46.411706 [ 5997 ] {e22676a8-5e6a-4663-a797-1ec12ce681fa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57100) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:46.413578 [ 5997 ] {e22676a8-5e6a-4663-a797-1ec12ce681fa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083007 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:49.099432 [ 18089 ] {7e355dec-02da-4318-bde6-d2de8b69fa8d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57244) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:49.101026 [ 18089 ] {7e355dec-02da-4318-bde6-d2de8b69fa8d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:51.809847 [ 5997 ] {8bc07896-8cfa-460d-b0ec-e05673ab0772} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46070) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:51.811067 [ 5997 ] {8bc07896-8cfa-460d-b0ec-e05673ab0772} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:53.145561 [ 18081 ] {264a47b4-3947-4b7f-8520-ad7da423f776} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028093633 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46092) (comment: 01039_mergetree_exec_time.sql) (in query: select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:53.147794 [ 18081 ] {264a47b4-3947-4b7f-8520-ad7da423f776} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.028093633 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:54.434897 [ 18089 ] {aa351204-2cab-4c4c-929c-b73b8a433f98} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46224) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:54.436281 [ 18089 ] {aa351204-2cab-4c4c-929c-b73b8a433f98} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:55.415477 [ 18089 ] {ffd3143f-ab18-47b5-8073-49a7ac3293ad} executeQuery: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46274) (comment: 01032_duplicate_column_insert_query.sql) (in query: INSERT INTO sometable (date, time, value, time) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec2a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:55.416464 [ 18089 ] {ffd3143f-ab18-47b5-8073-49a7ac3293ad} TCPHandler: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:155: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec2a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:141: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2adec0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:344: DB::InterpreterInsertQuery::execute() @ 0x2adedb46 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:57.162971 [ 18089 ] {22c3e1a3-e73f-4af5-abb8-63a379c70afa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46342) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:57.164159 [ 18089 ] {22c3e1a3-e73f-4af5-abb8-63a379c70afa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:57.927517 [ 18089 ] {199a6613-3d19-4f7d-80d2-2f20ac1c0451} executeQuery: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter3431643107131487575, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46366) (comment: 01024__getScalar.sql) (in query: CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cbcd55d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa2c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:42:57.929326 [ 18089 ] {199a6613-3d19-4f7d-80d2-2f20ac1c0451} TCPHandler: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter3431643107131487575, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x1cbcd55d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x2b8aa2c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:560: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc7a74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:42:59.797553 [ 18089 ] {9362c9d9-4929-4155-92b5-221ba8d4011f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083151 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46472) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:59.799240 [ 18089 ] {9362c9d9-4929-4155-92b5-221ba8d4011f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1083151 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:42:59.900524 [ 18086 ] {0716c268-fc27-4295-90ee-a332f21a612a} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46468) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2aee293e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aee1684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aeccca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aec8433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2aead5eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:59.901714 [ 18086 ] {0716c268-fc27-4295-90ee-a332f21a612a} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2aee293e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aee1684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aeccca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aec8433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2aead5eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:59.941207 [ 18086 ] {5f96e075-ddb5-4536-93ed-49a4a04df0d2} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46468) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = one.dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2aee293e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aee1684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aeccca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aec8433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2aead5eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:42:59.942727 [ 18086 ] {5f96e075-ddb5-4536-93ed-49a4a04df0d2} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x2aee293e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x2aee1684 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:805: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aeccca7 in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1363: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions const&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x2aec8433 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1134: DB::Planner::buildPlanForQueryNode() @ 0x2aead5eb in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:00.175595 [ 18089 ] {a04ae7d6-2942-45ef-be30-162436f0a1ba} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46476) (comment: 01017_in_unconvertible_complex_type.sql) (in query: -- When left and right element types are not compatible, we should get an error. select (toUInt8(1)) in ('a');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:43:00.177474 [ 18089 ] {a04ae7d6-2942-45ef-be30-162436f0a1ba} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:43:00.325425 [ 18089 ] {501d256e-24d2-4cf7-b32d-c93a88f09e06} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46476) (comment: 01017_in_unconvertible_complex_type.sql) (in query: select [toUInt8(1)] in ['a'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:322: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3aea9a in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:00.326788 [ 18089 ] {501d256e-24d2-4cf7-b32d-c93a88f09e06} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:492: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0782 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:322: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3aea9a in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1440: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x2a102447 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:961: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fccdf in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:02.682930 [ 18089 ] {5a2451c4-20df-45c9-b285-8e43c27ed950} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35192) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:02.684146 [ 18089 ] {5a2451c4-20df-45c9-b285-8e43c27ed950} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082991 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:05.230526 [ 18089 ] {1182ca58-50d0-4d8e-832d-7425c92d1420} executeQuery: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35306) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat('x', 1000001));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:30: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x20d8de05 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:94: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d90d7b in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d8fb1e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d8f207 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d17d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8ca21 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:43:05.232286 [ 18089 ] {1182ca58-50d0-4d8e-832d-7425c92d1420} TCPHandler: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:30: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x20d8de05 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:94: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d90d7b in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d8fb1e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d8f207 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d17d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8ca21 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:43:05.325055 [ 18089 ] {aa42b98e-ecae-4f5f-85be-7b0064f92e01} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223064 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35306) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat(repeat('Hello, world!', 1000000), 10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:90: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d90812 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d8f89e in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d8f147 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d17d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8ca21 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:43:05.326846 [ 18089 ] {aa42b98e-ecae-4f5f-85be-7b0064f92e01} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223064 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x197a99e5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x197a9879 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x197a9626 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:90: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x20d90812 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:229: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x20d8f89e in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:12: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x20d8f147 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:175: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x20d8d17d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:223: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20d8ca21 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 2024.03.06 01:43:05.423019 [ 18089 ] {88acbce5-bbcc-4c0e-95a7-a8a71b2b12c4} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35324) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:05.425024 [ 18089 ] {88acbce5-bbcc-4c0e-95a7-a8a71b2b12c4} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:05.877825 [ 8850 ] {d73eeca0-5736-464b-8d6d-ac39fd98a65a} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35338) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE ignore(rand())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:05.879531 [ 8850 ] {d73eeca0-5736-464b-8d6d-ac39fd98a65a} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:07.303660 [ 8850 ] {35566f45-07b7-42ed-952c-5326f34873f3} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35414) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = y + rand() % 1 WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:07.306204 [ 8850 ] {35566f45-07b7-42ed-952c-5326f34873f3} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:07.571143 [ 8850 ] {7ebeaee8-dbc4-419e-907c-2642532bf719} executeQuery: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35418) (comment: 01010_pmj_on_disk.sql) (in query: SELECT n, j FROM (SELECT number AS n FROM numbers(4)) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number + 10 AS j FROM numbers(4000) ) js2 USING n ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:842: DB::HashJoin::addJoinedBlock(DB::Block const&, bool) @ 0x2a684d95 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:308: DB::FillingRightJoinSideTransform::work() @ 0x2ccf270f in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:43:07.573831 [ 8850 ] {7ebeaee8-dbc4-419e-907c-2642532bf719} TCPHandler: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:842: DB::HashJoin::addJoinedBlock(DB::Block const&, bool) @ 0x2a684d95 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:308: DB::FillingRightJoinSideTransform::work() @ 0x2ccf270f in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:43:08.156987 [ 8850 ] {c0bed903-78c8-447c-99ad-5d7b430d5e42} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35466) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:08.158393 [ 8850 ] {c0bed903-78c8-447c-99ad-5d7b430d5e42} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.06 MiB (attempt to allocate chunk of 1082863 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:137: DB::FileChecker::save() const @ 0x2b9fdb5a in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:722: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x2bc82544 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:283: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f1ff in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9f014 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9edd1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9ead7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc9e94a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x2bc8c936 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:861: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bc850f9 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:43:09.959599 [ 8850 ] {1d4cdffd-420f-4e33-9fda-8a411af87afa} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35516) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = x + arrayCount(x -> (rand() + x) % 2, range(y)) WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:09.961961 [ 8850 ] {1d4cdffd-420f-4e33-9fda-8a411af87afa} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:10.924641 [ 18089 ] {57f4d710-2403-4a16-b674-c3aaf1e47464} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35544) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:43:10.926802 [ 18089 ] {57f4d710-2403-4a16-b674-c3aaf1e47464} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:43:13.624241 [ 8850 ] {73358cb4-4cea-4039-a239-12d495c0548d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45952) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:43:13.626581 [ 8850 ] {73358cb4-4cea-4039-a239-12d495c0548d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.70 MiB (attempt to allocate chunk of 8005712 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:129: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x2220c46d in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:344: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x2220c3ea in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x2b6ce0b8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x19878edb in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x28db1866 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 2024.03.06 01:43:15.279882 [ 8850 ] {12cedec2-2f25-4594-ac5a-bfc18789e89a} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46056) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE dictHas('test_2cta5mqi.dict1', toUInt64(x))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:15.281824 [ 8850 ] {12cedec2-2f25-4594-ac5a-bfc18789e89a} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1258: DB::MutationsInterpreter::validate() @ 0x2afa6941 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:16.560317 [ 8850 ] {a6811c17-f650-4626-b369-b928bf5f25f3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145535 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46108) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22287fc5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22287e56 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x298e38a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x298e579a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197aeb78 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x197c1ad3 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29b6b43b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29b1ca42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bc8195c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bc81467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 2024.03.06 01:43:16.562352 [ 8850 ] {a6811c17-f650-4626-b369-b928bf5f25f3} FileChecker: Will truncate file store/b6a/b6a09c51-2775-435a-8b09-03f79bb93458/x.bin that has size 4001641 to size 0 2024.03.06 01:43:16.565355 [ 8850 ] {a6811c17-f650-4626-b369-b928bf5f25f3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 17.70 MiB (attempt to allocate chunk of 3145535 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::alloc<>(unsigned long) @ 0x22287fc5 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::realloc<>(unsigned long) @ 0x22287e56 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 0ul, 0ul>::resize<>(unsigned long) @ 0x298e38a6 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:50: DB::CompressedWriteBuffer::nextImpl() @ 0x298e579a in /usr/bin/clickhouse 15. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 16. /build/src/IO/WriteBuffer.h:72: DB::WriteBuffer::nextIfAtEnd() @ 0x197aeb78 in /usr/bin/clickhouse 17. /build/src/IO/WriteBuffer.h:87: DB::WriteBuffer::write(char const*, unsigned long) @ 0x197c1ad3 in /usr/bin/clickhouse 18. /build/src/DataTypes/Serializations/SerializationNumber.cpp:146: DB::SerializationNumber::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const @ 0x29b6b43b in /usr/bin/clickhouse 19. /build/src/DataTypes/Serializations/ISerialization.cpp:115: DB::ISerialization::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::shared_ptr&) const @ 0x29b1ca42 in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:484: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&) @ 0x2bc8195c in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:370: DB::LogSink::consume(DB::Chunk) @ 0x2bc81467 in /usr/bin/clickhouse 22. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 2024.03.06 01:43:25.375893 [ 18088 ] {e0a99ab0-eea4-4114-9363-2f2640533225} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_y9kw15uy.replicated_constraints1 (2cf9b6a9-427c-4d22-aeb2-dcec245fd43b) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.377315 [ 18088 ] {e0a99ab0-eea4-4114-9363-2f2640533225} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_y9kw15uy.replicated_constraints1 (2cf9b6a9-427c-4d22-aeb2-dcec245fd43b) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.429682 [ 18080 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:47632). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:43:25.536720 [ 8844 ] {ddc43a06-24da-4b59-a4cc-b11d2bfcfa31} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47638). (NETWORK_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47638) (comment: 01007_r1r2_w_r2r1_deadlock.sh) (in query: SELECT x FROM a WHERE x IN (SELECT toUInt8(count()) FROM system.tables);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1020: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x2c83c34d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:896: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c83935c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.623982 [ 8844 ] {ddc43a06-24da-4b59-a4cc-b11d2bfcfa31} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47638). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c8428f5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c83989f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c831b68 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:43:25.624665 [ 8844 ] {ddc43a06-24da-4b59-a4cc-b11d2bfcfa31} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:47638). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1020: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x2c83c34d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:896: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c83935c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.625217 [ 8844 ] {ddc43a06-24da-4b59-a4cc-b11d2bfcfa31} TCPHandler: Client has gone away. 2024.03.06 01:43:25.682211 [ 18088 ] {3117d373-a4ec-41b9-b23d-35724c2937b0} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_y9kw15uy.replicated_constraints1 (2cf9b6a9-427c-4d22-aeb2-dcec245fd43b) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.684525 [ 18088 ] {3117d373-a4ec-41b9-b23d-35724c2937b0} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_y9kw15uy.replicated_constraints1 (2cf9b6a9-427c-4d22-aeb2-dcec245fd43b) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.702990 [ 18088 ] {6a7a0233-54f7-45b5-977e-758e6c4e12c6} executeQuery: Code: 469. DB::Exception: Constraint `b_constraint` for table test_y9kw15uy.replicated_constraints2 (9daf88d7-d66b-49f9-a7da-e40bbadb1da0) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47692) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:25.704962 [ 18088 ] {6a7a0233-54f7-45b5-977e-758e6c4e12c6} TCPHandler: Code: 469. DB::Exception: Constraint `b_constraint` for table test_y9kw15uy.replicated_constraints2 (9daf88d7-d66b-49f9-a7da-e40bbadb1da0) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:34.473354 [ 18088 ] {36b2a7ab-b288-4c68-8abb-8e93129e618d} executeQuery: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36950) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t == B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x2b3530d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:660: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb1a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:34.505074 [ 18088 ] {36b2a7ab-b288-4c68-8abb-8e93129e618d} TCPHandler: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [39]) @ 0x1aa70b3e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x2b3530d1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:660: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb1a6 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:34.515306 [ 18088 ] {9974ae73-c1ac-4fe8-9ad1-230df781cced} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36950) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t != B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:43:34.516751 [ 18088 ] {9974ae73-c1ac-4fe8-9ad1-230df781cced} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:150: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b354366 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x2b2cbbe4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2b2cb9e0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbde1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x2b2cbe86 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2b2cbdee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2b2cb96a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2b2cb825 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:644: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bae9c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:43:34.640764 [ 18088 ] {0249cd68-1111-43ba-a285-23cb849c03bd} executeQuery: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36950) (comment: 00976_asof_join_on.sql) (in query: SELECT A.a, A.t, B.b, B.t FROM A ASOF JOIN B ON A.a == B.b AND A.t < B.t OR A.a == B.b + 1 ORDER BY (A.a, A.t);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:659: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb159 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:34.679625 [ 18088 ] {0249cd68-1111-43ba-a285-23cb849c03bd} TCPHandler: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [67]) @ 0x20e2503e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:659: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x2b2bb159 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7512 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:36.562023 [ 18089 ] {d82ea90c-e24f-484b-97da-2d145404e98c} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 1 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37078) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT (s, max(d)) FROM bug GROUP BY s) ORDER BY d), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:36.564536 [ 18089 ] {d82ea90c-e24f-484b-97da-2d145404e98c} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 1 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:37.369245 [ 632 ] {70270ce1-7209-47e5-98ea-e54790ac40a6} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37116) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:37.370099 [ 632 ] {70270ce1-7209-47e5-98ea-e54790ac40a6} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:37.984183 [ 632 ] {e339502d-b3c6-4c81-a534-048840aea843} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37136) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d, s) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:37.986739 [ 632 ] {e339502d-b3c6-4c81-a534-048840aea843} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:39.047218 [ 5997 ] {00be1149-9bbe-4ec5-b3f8-c77a18f0cbf7} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.002215932 seconds, maximum: 3. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37066) (comment: 00976_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:39.052171 [ 5997 ] {00be1149-9bbe-4ec5-b3f8-c77a18f0cbf7} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.002215932 seconds, maximum: 3. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ba0c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x2998ae93 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x2998ada8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:458: DB::QueryStatus::checkTimeLimit() @ 0x2afca5d9 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:39.410704 [ 5997 ] {80711214-c2e8-4402-a991-839876f74918} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37166) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, max(d), s FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:39.415191 [ 5997 ] {80711214-c2e8-4402-a991-839876f74918} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x19bea12c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:399: DB::Set::checkColumnsNumber(unsigned long) const @ 0x2b132d68 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1220: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a5017 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:847: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b49e8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b49a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4965 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4925 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_24, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b48ed in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x2c0cc86a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:845: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a2779 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd1d2 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfbd0aa in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&, void>(std::shared_ptr const&, std::shared_ptr&, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2cfb494a in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1273: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa66e2 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:43:40.817940 [ 8851 ] {138ce5b7-38f2-451a-8951-c28dfcaf4e27} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37178) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: -- constant ignore will be pruned by part pruner. ignore(*) is used. SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf9d443 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaace6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:40.818926 [ 8851 ] {138ce5b7-38f2-451a-8951-c28dfcaf4e27} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf9d443 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaace6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:40.974483 [ 8851 ] {b7a620ba-9643-4801-b05e-39f91491e15e} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37178) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf9d443 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaace6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:40.974589 [ 5997 ] {38ad6658-6710-4b9b-b727-41f901bdc56f} executeQuery: Code: 53. DB::Exception: Types of column 2 in section IN don't match: DateTime on the left, Date on the right. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37192) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, toDateTime(d)) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b1335ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a50a4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b4748 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b46c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4685 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b464d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c0cc687 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a1c55 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c0a2172 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297ae7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297a1e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c292942 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c283070 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7248 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 2024.03.06 01:43:40.975474 [ 8851 ] {b7a620ba-9643-4801-b05e-39f91491e15e} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:168: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x2cf9d443 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1637: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaace6 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:40.977261 [ 5997 ] {38ad6658-6710-4b9b-b727-41f901bdc56f} TCPHandler: Code: 53. DB::Exception: Types of column 2 in section IN don't match: DateTime on the left, Date on the right. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b1335ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a50a4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b4748 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b46c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4685 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b464d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c0cc687 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a1c55 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c0a2172 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297ae7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297a1e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c292942 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c283070 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7248 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 2024.03.06 01:43:41.684215 [ 5997 ] {1f51234c-84d9-48d7-9ab0-3e10836dd895} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51682) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:41.685054 [ 5997 ] {1f51234c-84d9-48d7-9ab0-3e10836dd895} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:42.338645 [ 5997 ] {baf75a35-393b-4b24-ba30-484b0769b526} executeQuery: Code: 53. DB::Exception: Types of column 2 in section IN don't match: Date on the left, DateTime on the right. (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51692) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, toDateTime(max(d)) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b1335ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a50a4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b4748 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b46c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4685 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b464d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c0cc687 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a1c55 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c0a2172 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297ae7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297a1e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c292942 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c283070 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7248 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 2024.03.06 01:43:42.342158 [ 5997 ] {baf75a35-393b-4b24-ba30-484b0769b526} TCPHandler: Code: 53. DB::Exception: Types of column 2 in section IN don't match: Date on the left, DateTime on the right. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:419: DB::Set::checkTypesEqual(unsigned long, std::shared_ptr const&) const @ 0x2b1335ba in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1222: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x2c0a50a4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1494: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0a65fc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:784: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0b4748 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&>()(std::declval(), std::declval())) std::__invoke[abi:v15000] const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b46c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b4685 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_23, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x2c0b464d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0db086 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x2c0daec5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x2c0dabd8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:218: DB::RPNBuilder::RPNBuilder(std::shared_ptr const&, std::shared_ptr, DB::Block, std::shared_ptr, std::function const&) @ 0x2c0cc687 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:779: DB::KeyCondition::KeyCondition(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block, std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x2c0a1c55 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/KeyCondition.cpp:795: DB::KeyCondition::KeyCondition(DB::SelectQueryInfo const&, std::shared_ptr, std::vector> const&, std::shared_ptr const&, bool, bool) @ 0x2c0a2172 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000] const&, std::vector>&, std::shared_ptr&, DB::KeyCondition*>(DB::KeyCondition*, DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297ae7 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000] const&, std::vector>&, std::shared_ptr&>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c297a1e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000] const&, std::vector>&, std::shared_ptr&, void>(DB::SelectQueryInfo const&, std::shared_ptr const&, std::vector>&, std::shared_ptr&) @ 0x2c292942 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:822: DB::MergeTreeDataSelectExecutor::filterPartsByPartition(std::vector, std::allocator>>&, std::optional, std::equal_to, std::allocator>> const&, std::shared_ptr const&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::unordered_map, std::equal_to, std::allocator>> const*, std::shared_ptr, std::vector>&) @ 0x2c283070 in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1301: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa7248 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1200: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, std::shared_ptr) @ 0x2cfa5fa7 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1132: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>) const @ 0x2cfa586a in /usr/bin/clickhouse 27. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1515: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x2cfa9b8d in /usr/bin/clickhouse 28. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1636: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2cfaac9b in /usr/bin/clickhouse 29. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 2024.03.06 01:43:43.862235 [ 8851 ] {b57b80d2-e123-40a1-a4ec-04528cd41630} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- no arguments select neighbor();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:43.863342 [ 8851 ] {b57b80d2-e123-40a1-a4ec-04528cd41630} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:43.871066 [ 8851 ] {6b066c43-f0aa-4a9e-80dc-b279d69a9442} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- single argument select neighbor(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:43.872240 [ 8851 ] {6b066c43-f0aa-4a9e-80dc-b279d69a9442} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:43.880006 [ 8851 ] {feff3bbc-6cd7-464d-bcf8-27ab87bf9b73} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- greater than 3 arguments select neighbor(1,2,3,4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:43.881185 [ 8851 ] {feff3bbc-6cd7-464d-bcf8-27ab87bf9b73} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x1a1f78ac in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc2371 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:44.002016 [ 8851 ] {bab99e73-4f20-46f0-a8ac-52e30bb7abe3} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- bad default value select neighbor(dummy, 1, 'hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc27b1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:43:44.003277 [ 8851 ] {bab99e73-4f20-46f0-a8ac-52e30bb7abe3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x29b03fc6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b082ef in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc27b1 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:43:44.119393 [ 8851 ] {28ba3e4e-faf2-4600-8cf9-36de02a30bb1} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- types without common supertype (UInt64 and Int8) select number, neighbor(number, 1, -10) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29b04b06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29b04484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b093d8 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc27b1 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:43:44.120740 [ 8851 ] {28ba3e4e-faf2-4600-8cf9-36de02a30bb1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x2022216c in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x29b04b06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x29b04484 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x29b093d8 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc27b1 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:43:44.235979 [ 8851 ] {4a2dd946-26ab-4813-9f68-27d0908b026e} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51770) (comment: 00957_neighbor.sql) (in query: -- nullable offset is not allowed select number, if(number > 1, number, null) as offset, neighbor(number, offset) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc24c4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:44.237387 [ 8851 ] {4a2dd946-26ab-4813-9f68-27d0908b026e} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fdc24c4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:43:46.051016 [ 8851 ] {83323c9c-23b0-485d-9130-784d9b7c030c} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51826) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:46.052863 [ 8851 ] {83323c9c-23b0-485d-9130-784d9b7c030c} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:50.364556 [ 8851 ] {30606b7f-d2fb-4b97-93c1-aaa3189596f1} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51926) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:50.365505 [ 8851 ] {30606b7f-d2fb-4b97-93c1-aaa3189596f1} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:54.242901 [ 8836 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/01-01/visits/replicas/some.server.com. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x2c7daad2 in /usr/bin/clickhouse 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x2c7d80d8 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:116: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7d8727 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:43:54.690286 [ 5997 ] {c7b7cf38-4439-4450-9b71-4470289d8b8d} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47268) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:54.691385 [ 5997 ] {c7b7cf38-4439-4450-9b71-4470289d8b8d} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [32]) @ 0x2021c59e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7034: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a64d6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:43:59.451407 [ 8851 ] {4063298a-e02b-4618-be79-7e26fac911d3} executeQuery: Code: 456. DB::Exception: Query parameter `s` was not set. (UNKNOWN_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47388) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/QueryNormalizer.cpp:294: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355c98 in /usr/bin/clickhouse 7. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b35690a in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b35619a in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355b7a in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b2c7480 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b924d in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:43:59.453811 [ 8851 ] {4063298a-e02b-4618-be79-7e26fac911d3} TCPHandler: Code: 456. DB::Exception: Query parameter `s` was not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/QueryNormalizer.cpp:294: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355c98 in /usr/bin/clickhouse 7. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b35690a in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b35619a in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355b7a in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b2c7480 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b924d in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:44:00.579321 [ 5997 ] {d1be35c7-35a4-4a97-a485-0697f7151559} executeQuery: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47414) (comment: 00955_complex_prepared_statements.sh) (in query: SELECT * FROM ps WHERE a = {injection:Array(UInt32)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:00.581206 [ 5997 ] {d1be35c7-35a4-4a97-a485-0697f7151559} TCPHandler: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x2b3c74f6 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:92: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x2b3c6a4f in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:37: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c6485 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:56: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x2b3c6ff3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:45: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x2b3c657b in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:398: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d5178 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:07.296537 [ 18089 ] {22153176-761a-402b-892c-7707468f5f05} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 3, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:07.298507 [ 18089 ] {22153176-761a-402b-892c-7707468f5f05} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:07.312827 [ 18089 ] {7936544e-1b65-4a3d-bdfb-aba98fdc6f31} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 4, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:07.314640 [ 18089 ] {7936544e-1b65-4a3d-bdfb-aba98fdc6f31} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:09.295889 [ 18089 ] {dc58865e-7d34-47de-91c7-0975a0a169ca} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:09.297342 [ 18089 ] {dc58865e-7d34-47de-91c7-0975a0a169ca} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 2024.03.06 01:44:09.405816 [ 18089 ] {af62d1a1-b2e6-44f3-bb88-6fdf5a7c9766} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f9ace2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:09.407235 [ 18089 ] {af62d1a1-b2e6-44f3-bb88-6fdf5a7c9766} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f9ace2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:09.518200 [ 18089 ] {4ced6132-b417-49fc-b402-b1b8f986cf2d} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac5b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:44:09.519635 [ 18089 ] {4ced6132-b417-49fc-b402-b1b8f986cf2d} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac5b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:44:14.129905 [ 18089 ] {3c2061d6-041c-4f51-a814-1e1aef093c14} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.131482 [ 18089 ] {3c2061d6-041c-4f51-a814-1e1aef093c14} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.155248 [ 18089 ] {3d0ee0fa-e409-48e9-8bb4-a59466862a79} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.157891 [ 18089 ] {3d0ee0fa-e409-48e9-8bb4-a59466862a79} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.302845 [ 18089 ] {9378a247-e942-46b2-8451-ef2d692194c9} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.304376 [ 18089 ] {9378a247-e942-46b2-8451-ef2d692194c9} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x1f9af92b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x1f9af401 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af3b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x1f9af375 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x1f9af335 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x1f9af300 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x1f9aa836 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x1f9aa735 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x1f9a0261 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x1f9adee9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9aca8c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 01:44:14.314614 [ 18089 ] {63eb7dd7-22f4-4751-8022-bd5920141422} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f9ace2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:14.315722 [ 18089 ] {63eb7dd7-22f4-4751-8022-bd5920141422} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1f9ace2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:14.443155 [ 18089 ] {7b802c38-8cc1-4fe3-bcd3-b8f323b5b88e} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60402) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10000000000, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac5b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:44:14.444336 [ 18089 ] {7b802c38-8cc1-4fe3-bcd3-b8f323b5b88e} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1f9ac5b0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:44:15.580891 [ 18085 ] {5c5ed83c-85b0-4f3a-9d8c-d6d761a7991d} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49112) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:15.581885 [ 18085 ] {5c5ed83c-85b0-4f3a-9d8c-d6d761a7991d} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:16.076119 [ 632 ] {65b5f72c-233a-4199-a437-b78c45c9f314} executeQuery: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49122) (comment: 00910_crash_when_distributed_modify_order_by.sql) (in query: ALTER TABLE union2 MODIFY ORDER BY a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x290bc08c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1411: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92c99d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:16.077533 [ 632 ] {65b5f72c-233a-4199-a437-b78c45c9f314} TCPHandler: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x290bc08c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1411: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2b92c99d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:19.896471 [ 632 ] {c2edfcd0-85ab-433a-ae0d-14f61db375fe} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49232) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:19.897685 [ 632 ] {c2edfcd0-85ab-433a-ae0d-14f61db375fe} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:20.131646 [ 18085 ] {7e95f548-eac9-4282-b5af-fd517584bc16} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05b49 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:44:20.133092 [ 18085 ] {7e95f548-eac9-4282-b5af-fd517584bc16} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05b49 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:44:20.282660 [ 18085 ] {fb8932d4-8c26-46b9-9704-582ab8c34186} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: at least one array should be passed.: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [125]) @ 0x21aeb67e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:84: DB::getArraysDepths(std::vector> const&) @ 0x21aeb247 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.284153 [ 18085 ] {fb8932d4-8c26-46b9-9704-582ab8c34186} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: at least one array should be passed.: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [125]) @ 0x21aeb67e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:84: DB::getArraysDepths(std::vector> const&) @ 0x21aeb247 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.415624 [ 18085 ] {4f114afd-8d18-4c79-a5f3-4e045371b7df} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21aeb401 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.417023 [ 18085 ] {4f114afd-8d18-4c79-a5f3-4e045371b7df} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21aeb401 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.543451 [ 18085 ] {41492ee9-d567-4671-88f7-1dbfa40d75e5} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.544632 [ 18085 ] {41492ee9-d567-4671-88f7-1dbfa40d75e5} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.554701 [ 18085 ] {d9f1293c-9245-4e7c-8e07-623cc31b40d3} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21aeb401 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.555695 [ 18085 ] {d9f1293c-9245-4e7c-8e07-623cc31b40d3} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: clear_depth (2) can't be larger than max_array_depth (1).: While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:93: DB::getArraysDepths(std::vector> const&) @ 0x21aeb401 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.564992 [ 18085 ] {40ae5c58-a4fd-4c24-a95a-59e4023f6ad8} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[],3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.566029 [ 18085 ] {40ae5c58-a4fd-4c24-a95a-59e4023f6ad8} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.574820 [ 18085 ] {ded45cf7-b73f-4b31-8e4f-453040503d5a} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.575783 [ 18085 ] {ded45cf7-b73f-4b31-8e4f-453040503d5a} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.584528 [ 18085 ] {54f96fc9-2c40-470c-915a-e0e9773f3408} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.585465 [ 18085 ] {54f96fc9-2c40-470c-915a-e0e9773f3408} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=2 for array with depth=1.: While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.703278 [ 18085 ] {bd13bd29-1cec-439d-98fc-44ec22798e1c} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,[],0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.704521 [ 18085 ] {bd13bd29-1cec-439d-98fc-44ec22798e1c} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.716024 [ 18085 ] {3e21cd83-5589-4fbd-915b-66197e7f2d55} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,0,0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.717094 [ 18085 ] {3e21cd83-5589-4fbd-915b-66197e7f2d55} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.841412 [ 18085 ] {d4377426-a745-4606-8e89-4e8e6316f6df} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (1) for missing array.: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1,1,1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.842613 [ 18085 ] {d4377426-a745-4606-8e89-4e8e6316f6df} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (1) for missing array.: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.967535 [ 18085 ] {3b3d77e6-a640-4793-9497-0563876d271b} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, [10,20,10,30], 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:20.968712 [ 18085 ] {3b3d77e6-a640-4793-9497-0563876d271b} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (0) cannot be less or equal 0.: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:52: DB::getArraysDepths(std::vector> const&) @ 0x21aeae8b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.096552 [ 18085 ] {7c48829d-d75c-410c-a911-de2833a9eeb0} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [[7,8,9,10],[10,11,12]], 2, [[14,15,16],[17,18,19],[20],[21]], 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.098015 [ 18085 ] {7c48829d-d75c-410c-a911-de2833a9eeb0} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.113236 [ 18085 ] {8fdf9afb-ebb7-45d5-b1e8-02f9f5d3bcaa} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, ['a', 'b', 'c', 'd'],1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.115166 [ 18085 ] {8fdf9afb-ebb7-45d5-b1e8-02f9f5d3bcaa} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.129467 [ 18085 ] {24052bad-706c-45c5-9fd5-bf49f85bf700} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, [14,15,16,17,18,19], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.131345 [ 18085 ] {24052bad-706c-45c5-9fd5-bf49f85bf700} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.142756 [ 18085 ] {352c30fe-0f9e-4395-be6d-a04f17208c65} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [14,15,16,17,18,19], 1, [1,2], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.144023 [ 18085 ] {352c30fe-0f9e-4395-be6d-a04f17208c65} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.155827 [ 18085 ] {490d896c-b5d8-42b1-9015-25c8cc63bfe1} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.157393 [ 18085 ] {490d896c-b5d8-42b1-9015-25c8cc63bfe1} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.176762 [ 18085 ] {1f87af11-1acb-48a3-8ab6-cc56ad90611a} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.178229 [ 18085 ] {1f87af11-1acb-48a3-8ab6-cc56ad90611a} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:197: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x21b05024 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:44:21.261616 [ 18085 ] {f6f433bf-f438-4151-84fc-d617123a4ec4} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.262600 [ 18085 ] {f6f433bf-f438-4151-84fc-d617123a4ec4} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=3 for array with depth=1.: While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.272163 [ 18085 ] {a8ff6b03-5e61-48b7-897b-be5ec4c9ba15} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (2) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.273371 [ 18085 ] {a8ff6b03-5e61-48b7-897b-be5ec4c9ba15} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (2) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.285125 [ 18085 ] {216a67dd-16c3-4a4a-9342-356ad7b41564} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.286332 [ 18085 ] {216a67dd-16c3-4a4a-9342-356ad7b41564} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.296332 [ 18085 ] {f77db0f8-e34f-4da1-90a2-5df70704ce42} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, [4], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.297562 [ 18085 ] {f77db0f8-e34f-4da1-90a2-5df70704ce42} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked or arrayEnumerateDenseRanked: depth (3) for missing array.: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:64: DB::getArraysDepths(std::vector> const&) @ 0x21aeafc7 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.441579 [ 18085 ] {947f1843-a56a-46d9-9e8c-cb39b31a222d} executeQuery: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked('wat', [1,2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.460365 [ 18085 ] {947f1843-a56a-46d9-9e8c-cb39b31a222d} TCPHandler: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.470976 [ 18085 ] {4a7676c6-da96-421a-91c0-b2e849da52a7} executeQuery: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 'boom');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.471971 [ 18085 ] {4a7676c6-da96-421a-91c0-b2e849da52a7} TCPHandler: Code: 170. DB::Exception: Bad get: has String, requested UInt64: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.595972 [ 18085 ] {9fa961a1-ccb6-4bb3-9189-5b28ed622a77} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.597129 [ 18085 ] {9fa961a1-ccb6-4bb3-9189-5b28ed622a77} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.607389 [ 18085 ] {1273199b-cfc3-41bf-a688-f7e970437c87} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-10, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.608493 [ 18085 ] {1273199b-cfc3-41bf-a688-f7e970437c87} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.617578 [ 18085 ] {9d132b97-41d9-477c-bb90-1dc34051368a} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.618629 [ 18085 ] {9d132b97-41d9-477c-bb90-1dc34051368a} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.629551 [ 18085 ] {e955e78a-5143-4ed1-be52-1637dfce32a4} executeQuery: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-101, ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.630805 [ 18085 ] {e955e78a-5143-4ed1-be52-1637dfce32a4} TCPHandler: Code: 170. DB::Exception: Bad get: has Int64, requested UInt64: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.640217 [ 18085 ] {f9d0afc9-c003-4008-974d-b6bf59c974d8} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1.1, [10,20,10,30]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.641364 [ 18085 ] {f9d0afc9-c003-4008-974d-b6bf59c974d8} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.651105 [ 18085 ] {ca0aeada-62d5-4852-8c36-940501b8f0b4} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 0.4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.652053 [ 18085 ] {ca0aeada-62d5-4852-8c36-940501b8f0b4} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.660516 [ 18085 ] {c6d55fbf-7cc8-4811-b306-2c1fcc11ee88} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 1.8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.661684 [ 18085 ] {c6d55fbf-7cc8-4811-b306-2c1fcc11ee88} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested UInt64: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x19d0a94c in /usr/bin/clickhouse 6. /build/src/Core/Field.h:892: auto& DB::Field::safeGet() @ 0x19eac57c in /usr/bin/clickhouse 7. /build/src/Columns/ColumnConst.h:290: unsigned long DB::ColumnConst::getValue() const @ 0x19eac346 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayEnumerateRanked.cpp:50: DB::getArraysDepths(std::vector> const&) @ 0x21aeadd1 in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21ae6e0c in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:44:21.670303 [ 18085 ] {2aa91791-15cb-4857-8c4e-f35aabc5712c} executeQuery: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=1000000000 for array with depth=1.: While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49188) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [], 1000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:21.671239 [ 18085 ] {2aa91791-15cb-4857-8c4e-f35aabc5712c} TCPHandler: Code: 36. DB::Exception: Arguments for function arrayEnumerateUniqRanked/arrayEnumerateDenseRanked incorrect: depth=1000000000 for array with depth=1.: While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:69: DB::getArraysDepths(std::vector> const&) @ 0x21aeb108 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x21b05bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:44:24.192120 [ 632 ] {4e057872-4cdb-4c1f-b6af-662033170bdb} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50086) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:24.193161 [ 632 ] {4e057872-4cdb-4c1f-b6af-662033170bdb} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:28.535557 [ 632 ] {386de32a-b3a5-43f2-abc1-34aa7b7c3f11} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50228) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:28.536569 [ 632 ] {386de32a-b3a5-43f2-abc1-34aa7b7c3f11} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:32.847068 [ 3320 ] {2c9a7a21-ea97-439c-9a9d-8cb661ef813f} executeQuery: Code: 394. DB::Exception: Query '2c9a7a21-ea97-439c-9a9d-8cb661ef813f' is killed in pending state. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50328) (comment: 00909_kill_not_initialized_query.sh) (in query: SELECT sum(1) FROM cannot_kill_query WHERE NOT ignore(sleep(1)) SETTINGS max_threads = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeQuery.cpp:769: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d93c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:32.849092 [ 3320 ] {2c9a7a21-ea97-439c-9a9d-8cb661ef813f} TCPHandler: Code: 394. DB::Exception: Query '2c9a7a21-ea97-439c-9a9d-8cb661ef813f' is killed in pending state. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeQuery.cpp:769: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d93c1 in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:32.872073 [ 3320 ] {217eb47f-e1df-4a18-beb7-b3796adda980} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34022) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:32.873058 [ 3320 ] {217eb47f-e1df-4a18-beb7-b3796adda980} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7042: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x2c1a6691 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7164: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2bae8ed7 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:46.694921 [ 18080 ] {282bbdf2-e0a1-46f9-b9f6-0a40fdcf8d9a} executeQuery: Code: 60. DB::Exception: Table test_lxvtymac.test1_00843 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60096) (comment: 00843_optimize_predicate_and_rename_table.sql) (in query: SELECT * FROM view_00843;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Storages/StorageView.cpp:161: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bc6472a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:46.696282 [ 18080 ] {282bbdf2-e0a1-46f9-b9f6-0a40fdcf8d9a} TCPHandler: Code: 60. DB::Exception: Table test_lxvtymac.test1_00843 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Storages/StorageView.cpp:161: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2bc6472a in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:48.700299 [ 3320 ] {8a0a3bda-dc9d-40a1-8d90-b5ff7bb2d3b7} executeQuery: Code: 160. DB::Exception: The maximum sleep time is 3 seconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60170) (comment: 00833_sleep_overflow.sql) (in query: SELECT sleep(4295.967296);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:109: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24d96 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e24777 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:44:48.701577 [ 3320 ] {8a0a3bda-dc9d-40a1-8d90-b5ff7bb2d3b7} TCPHandler: Code: 160. DB::Exception: The maximum sleep time is 3 seconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:109: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x20e24d96 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:87: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20e24777 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:44:49.498387 [ 18080 ] {9754050d-1807-4f88-b1b6-abdab7c82683} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/store/a7d/a7d22b28-7dc7-4f22-bdf0-af05aa2039f2//data.TSV doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60216) (comment: 00832_storage_file_lock.sql) (in query: SELECT * FROM file;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:44:49.499265 [ 18080 ] {9754050d-1807-4f88-b1b6-abdab7c82683} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/store/a7d/a7d22b28-7dc7-4f22-bdf0-af05aa2039f2//data.TSV doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:01.418345 [ 3320 ] {682c30c4-8e82-43ee-a175-6174c1519357} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery575. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60564) (comment: 00811_garbage.sql) (in query: SELECT ( SELECT toDecimal128([], rowNumberInBlock()) ) , lcm('', [[(CAST(('>A') AS String))]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x1a00f5cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x1a00f420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x1a00f3dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x1a00f39d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x1a00f35d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x1a00f325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x1a00f15b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19ff2c9a in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:45:01.420195 [ 3320 ] {682c30c4-8e82-43ee-a175-6174c1519357} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery575. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x1a00f5cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x1a00f420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x1a00f3dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x1a00f39d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x1a00f35d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x1a00f325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x1a00f15b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x19ff2c9a in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 2024.03.06 01:45:02.985964 [ 3320 ] {a45e0bf7-7cfd-4fa2-bf9a-1fbfed6ff91b} executeQuery: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60658) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a7e722c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:02.987124 [ 3320 ] {a45e0bf7-7cfd-4fa2-bf9a-1fbfed6ff91b} TCPHandler: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1a7e722c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:03.133585 [ 3320 ] {09f9d93b-9e66-45ef-9dc7-2737b25745c1} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60658) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, emptyArrayUInt8());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19b618ec in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:03.134775 [ 3320 ] {09f9d93b-9e66-45ef-9dc7-2737b25745c1} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19b618ec in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:03.144626 [ 3320 ] {a36e8a3e-9043-4d10-93b4-a4816466327e} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60658) (comment: 00805_round_down.sql) (in query: SELECT roundDown(number, [number]) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19b618ec in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:03.145642 [ 3320 ] {a36e8a3e-9043-4d10-93b4-a4816466327e} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x19b618ec in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:125: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124205 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:13.169078 [ 18089 ] {06a5267a-8f8f-4214-85b6-a1d5a48bdfb8} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33030) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20ed48ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:13.170364 [ 18089 ] {06a5267a-8f8f-4214-85b6-a1d5a48bdfb8} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20ed48ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:13.283716 [ 18089 ] {b4919202-ef4a-4ce7-b815-88b467ce333f} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33030) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20ed4ac2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:13.284995 [ 18089 ] {b4919202-ef4a-4ce7-b815-88b467ce333f} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x20ed4ac2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:13.391719 [ 18089 ] {ce370cc1-9916-4152-b4e8-77631887ef3d} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33030) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ed3185 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:13.393007 [ 18089 ] {ce370cc1-9916-4152-b4e8-77631887ef3d} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ed3185 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:15.733354 [ 8851 ] {4a4bccb0-1572-4f26-863b-5507732356ae} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33140) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode(val, 'excess argument') FROM (select arrayJoin(['', 'f', 'fo', 'foo', 'foob', 'fooba', 'foobar']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.735144 [ 8851 ] {4a4bccb0-1572-4f26-863b-5507732356ae} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.752456 [ 8851 ] {bf3fc319-4ffc-4385-bcbe-c496cd9ab2a7} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33140) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode(val, 'excess argument') FROM (select arrayJoin(['', 'Zg==', 'Zm8=', 'Zm9v', 'Zm9vYg==', 'Zm9vYmE=', 'Zm9vYmFy']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.754319 [ 8851 ] {bf3fc319-4ffc-4385-bcbe-c496cd9ab2a7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.763286 [ 8851 ] {f5aaf6de-3af7-418d-a308-5af5bc55b8f9} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33140) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.765008 [ 8851 ] {f5aaf6de-3af7-418d-a308-5af5bc55b8f9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:15.889907 [ 8851 ] {7af00f14-020c-4644-9d03-17cdd7da06c8} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33140) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('Zm9vYmF=Zm9v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x1aa7580c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x1aa755a1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x1aa752dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa748ba in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:45:15.891103 [ 8851 ] {7af00f14-020c-4644-9d03-17cdd7da06c8} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x1aa7580c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x1aa755a1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x1aa752dd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1aa748ba in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 01:45:16.771712 [ 8851 ] {275f72b9-50a1-42fc-bd64-200a93ecc934} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33158) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:16.773033 [ 8851 ] {275f72b9-50a1-42fc-bd64-200a93ecc934} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:16.931786 [ 8851 ] {a00de81e-807d-4b1e-8803-2609cb8a2d86} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33158) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:16.932910 [ 8851 ] {a00de81e-807d-4b1e-8803-2609cb8a2d86} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.128920 [ 8851 ] {edc86af5-c453-41df-a25f-8a05cc6e3a16} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33158) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.129020 [ 18085 ] {b7cf130e-f1da-41a8-9e33-8638b62fb9cc} executeQuery: Code: 43. DB::Exception: First argument for function arrayFirstIndex must be a function. Actual String: While processing arrayFirstIndex(CAST('\0', 'String'), []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayFirstIndex((CAST(('\0') AS String)), []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped, DB::NameArrayFirstIndex>::getReturnTypeImpl(std::vector> const&) const @ 0x21b2dd0a in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:17.130243 [ 8851 ] {edc86af5-c453-41df-a25f-8a05cc6e3a16} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.132031 [ 18085 ] {b7cf130e-f1da-41a8-9e33-8638b62fb9cc} TCPHandler: Code: 43. DB::Exception: First argument for function arrayFirstIndex must be a function. Actual String: While processing arrayFirstIndex(CAST('\0', 'String'), []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped, DB::NameArrayFirstIndex>::getReturnTypeImpl(std::vector> const&) const @ 0x21b2dd0a in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:17.301128 [ 8851 ] {4004da73-2459-47b3-9ded-4bbfcd4cabfb} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33158) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.301245 [ 18085 ] {4a2fd2c1-26e8-4e19-8e30-c1fc1a87b3cc} executeQuery: Code: 42. DB::Exception: Aggregate function max requires single argument: While processing (SELECT max('\0', [])) AS _subquery579: While processing [__getScalar('4296176893670310853_11752603018315651528') AS dnjkrpy, (SELECT max('\0', [])) AS _subquery579]: While processing netloc([''], [__getScalar('4296176893670310853_11752603018315651528') AS dnjkrpy, (SELECT max('\0', [])) AS _subquery579]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT netloc([''], [( SELECT '', '', [''], (CAST((-286833.63) AS Date)), [] ) AS dnjkrpy, ( SELECT max('\0', []) ) ]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23a94ad5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionMax.cpp:16: DB::(anonymous namespace)::createAggregateFunctionMax(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23a94a0d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 2024.03.06 01:45:17.302232 [ 8851 ] {4004da73-2459-47b3-9ded-4bbfcd4cabfb} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2227: DB::ExpressionAnalysisResult::checkActions() const::$_2::operator()(std::shared_ptr const&) const @ 0x2a0cd59a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2232: DB::ExpressionAnalysisResult::checkActions() const @ 0x2a0cd056 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cca73 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.303810 [ 18085 ] {4a2fd2c1-26e8-4e19-8e30-c1fc1a87b3cc} TCPHandler: Code: 42. DB::Exception: Aggregate function max requires single argument: While processing (SELECT max('\0', [])) AS _subquery579: While processing [__getScalar('4296176893670310853_11752603018315651528') AS dnjkrpy, (SELECT max('\0', [])) AS _subquery579]: While processing netloc([''], [__getScalar('4296176893670310853_11752603018315651528') AS dnjkrpy, (SELECT max('\0', [])) AS _subquery579]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:24: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23a94ad5 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionMax.cpp:16: DB::(anonymous namespace)::createAggregateFunctionMax(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23a94a0d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 2024.03.06 01:45:17.441516 [ 18085 ] {0b8c7cf1-3e94-4eab-a71f-f0dda44ded7a} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutQueryStringAndFragment doesn't match: passed 2, should be 1: While processing kostikConsistentHash('', cutQueryStringAndFragment([], [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT kostikConsistentHash('', cutQueryStringAndFragment([], []));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:17.444140 [ 18085 ] {0b8c7cf1-3e94-4eab-a71f-f0dda44ded7a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutQueryStringAndFragment doesn't match: passed 2, should be 1: While processing kostikConsistentHash('', cutQueryStringAndFragment([], [])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:17.603858 [ 18085 ] {ecb3e8d9-bcd8-482a-96a0-8241dac026d7} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt(['']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3bbe4 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3b872 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.605878 [ 18085 ] {ecb3e8d9-bcd8-482a-96a0-8241dac026d7} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3bbe4 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3b872 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.730534 [ 18085 ] {ed83fd58-a51a-4dce-a163-31a315d6d83a} executeQuery: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2526f in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.732441 [ 18085 ] {ed83fd58-a51a-4dce-a163-31a315d6d83a} TCPHandler: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2526f in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:17.848127 [ 18085 ] {eb85947f-6f88-4aa6-98bf-732b3926873c} executeQuery: Code: 42. DB::Exception: Number of arguments for function transform doesn't match: passed 1, should be 3 or 4: While processing concatWithSeparator(CAST('\0', 'String'), [[transform([])]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT concat_ws((CAST(('\0') AS String)), [[transform([])]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:80: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20faa4b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 2024.03.06 01:45:17.850044 [ 18085 ] {eb85947f-6f88-4aa6-98bf-732b3926873c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function transform doesn't match: passed 1, should be 3 or 4: While processing concatWithSeparator(CAST('\0', 'String'), [[transform([])]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x1a39f32c in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:80: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20faa4b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 2024.03.06 01:45:18.009960 [ 18085 ] {9ee8964e-d516-44f6-bd9b-33b6408864f0} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]: While processing (SELECT '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]) AS klazfema: While processing [(SELECT '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]) AS klazfema]. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -36, '\0', [( SELECT '', '\0', NULL, (CAST(((CAST((NULL) AS Date))) AS String)), [(CAST((polygonsUnionSpherical('')) AS DateTime))] ) AS klazfema];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:18.012512 [ 18085 ] {9ee8964e-d516-44f6-bd9b-33b6408864f0} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]: While processing (SELECT '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]) AS klazfema: While processing [(SELECT '', '\0', NULL, CAST(CAST(NULL, 'Date'), 'String'), [CAST(polygonsUnionSpherical(''), 'DateTime')]) AS klazfema]. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:18.130724 [ 18085 ] {3dbac5ec-ca76-4565-bd46-dd357a48b203} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32OrDefault, expected const Integer, got Nullable(Nothing): While processing showCertificate(toDecimal32OrDefault(CAST([], 'String'), NULL)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT showCertificate(toDecimal32OrDefault((CAST(([]) AS String)), NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToDecimal32OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfff4b3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:18.133005 [ 18085 ] {3dbac5ec-ca76-4565-bd46-dd357a48b203} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal32OrDefault, expected const Integer, got Nullable(Nothing): While processing showCertificate(toDecimal32OrDefault(CAST([], 'String'), NULL)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToDecimal32OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfff4b3 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:18.247948 [ 18085 ] {38d66704-afb9-4d86-8d06-4b422d3268bc} executeQuery: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.249989 [ 18085 ] {38d66704-afb9-4d86-8d06-4b422d3268bc} TCPHandler: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.367374 [ 18085 ] {8cd19c67-1285-4b96-ae5e-c97eb1b98e87} executeQuery: Code: 42. DB::Exception: The signature of table function 'cosn' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.369239 [ 18085 ] {8cd19c67-1285-4b96-ae5e-c97eb1b98e87} TCPHandler: Code: 42. DB::Exception: The signature of table function 'cosn' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.565460 [ 18085 ] {ad6d4c29-f5e3-4311-9ff6-01039e9cc585} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing IPv4NumToString(CAST('M7;Nf)n', 'DateTime'), leftPad(-6.636)). (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT IPv4NumToString((CAST(('M7;Nf)n') AS DateTime)), lpad(-6.636));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:18.567851 [ 18085 ] {ad6d4c29-f5e3-4311-9ff6-01039e9cc585} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing IPv4NumToString(CAST('M7;Nf)n', 'DateTime'), leftPad(-6.636)). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:18.720877 [ 18085 ] {01d162cd-b83b-4dd2-91e7-93dda5718baf} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array: While processing (SELECT * FROM clusterAllReplicas([], (SELECT [-3981.63]) AS lucfpj, (SELECT * FROM oss(NULL, mapValues())))) AS _subquery581. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT murmurHash3_32() ) , ( SELECT * FROM clusterAllReplicas([], ( SELECT [-3981.63] ) AS lucfpj, ( SELECT * FROM oss(NULL, mapValues()) ) ) ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17f44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 2024.03.06 01:45:18.723790 [ 18085 ] {01d162cd-b83b-4dd2-91e7-93dda5718baf} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Array: While processing (SELECT * FROM clusterAllReplicas([], (SELECT [-3981.63]) AS lucfpj, (SELECT * FROM oss(NULL, mapValues())))) AS _subquery581. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:132: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17f44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 2024.03.06 01:45:18.867648 [ 18085 ] {1f8e17eb-a1b1-45d4-819e-149ada7adfb4} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg(['HK7']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c665 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7a62d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.869654 [ 18085 ] {1f8e17eb-a1b1-45d4-819e-149ada7adfb4} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c665 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7a62d in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:18.879546 [ 18085 ] {1ea484ed-d295-47d6-96be-3cc83c821a22} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [CAST('&;?xi*', 'DateTime')]. (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs([(CAST(('&;?xi*') AS DateTime))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:18.881916 [ 18085 ] {1ea484ed-d295-47d6-96be-3cc83c821a22} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [CAST('&;?xi*', 'DateTime')]. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:19.003517 [ 18085 ] {78acb582-5092-4497-8424-8695b1bedc5f} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql('\0', [])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.005482 [ 18085 ] {78acb582-5092-4497-8424-8695b1bedc5f} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.221996 [ 18085 ] {35f000a6-f0b7-4d84-b551-5b241fd051c9} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, '', CAST('E F]/o/', 'Date'), NULL, '\0'. (CANNOT_PARSE_DATE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, '', (CAST(('E F]/o/') AS Date)), NULL, '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1dffae5e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x222807b5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x22280431 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19ae8ff7 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8ce6 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8c9d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19ae8974 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19ae8811 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ae2b78 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ad2479 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad17a8 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 2024.03.06 01:45:19.224732 [ 18085 ] {35f000a6-f0b7-4d84-b551-5b241fd051c9} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, '', CAST('E F]/o/', 'Date'), NULL, '\0'. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1dffae5e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x222807b5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x22280431 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19ae8ff7 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8ce6 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8c9d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:989: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19ae8974 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19ae8811 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19ae2b78 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19ad2479 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad17a8 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 2024.03.06 01:45:19.233006 [ 18085 ] {b42ba32e-4395-4daa-8da8-96b811ebf726} executeQuery: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 0, should be 1 or 2: While processing port(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT port();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127933f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:19.235043 [ 18085 ] {b42ba32e-4395-4daa-8da8-96b811ebf726} TCPHandler: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 0, should be 1 or 2: While processing port(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x2127933f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:19.256021 [ 18085 ] {64dc57df-cb2e-4921-b728-250b752f0f27} executeQuery: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.258103 [ 18085 ] {64dc57df-cb2e-4921-b728-250b752f0f27} TCPHandler: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.266064 [ 18085 ] {3b35e209-296b-4e9f-b4bb-4c647be7aa7a} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql((SELECT * FROM hdfs()) AS qhb)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.267749 [ 18085 ] {3b35e209-296b-4e9f-b4bb-4c647be7aa7a} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.399395 [ 18085 ] {4f3cbf85-41ad-4cf2-9acf-bb324c8e4477} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(['?']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.402021 [ 18085 ] {4f3cbf85-41ad-4cf2-9acf-bb324c8e4477} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.413790 [ 18085 ] {cbd0fb2c-328c-42ef-a2f0-e901cce1adcf} executeQuery: Code: 42. DB::Exception: Number of arguments for function getServerPort doesn't match: passed 2, should be 1: While processing getServerPort('BW%m,!+"', CAST(-95928.33, 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT getServerPort('BW%m,!+"', (CAST((-95928.33) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:19.416371 [ 18085 ] {cbd0fb2c-328c-42ef-a2f0-e901cce1adcf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function getServerPort doesn't match: passed 2, should be 1: While processing getServerPort('BW%m,!+"', CAST(-95928.33, 'DateTime')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:19.545446 [ 18085 ] {c19af6bf-0fc5-4454-b166-371a2c205350} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary([], ( SELECT errorCodeToName('^xjoE+', 5982.826035) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9855e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.547637 [ 18085 ] {c19af6bf-0fc5-4454-b166-371a2c205350} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9855e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.691322 [ 18085 ] {d91f17a4-5090-456c-9f5b-bdda2989bb36} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS a: While processing (SELECT [], '-;Usc&', [], (SELECT * FROM format()) AS a, (SELECT h3ToGeo('')) AS rmfxrlz) AS _subquery582. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT [], '-;Usc&', [], ( SELECT * FROM format() ) AS a, ( SELECT h3ToGeo('') ) AS rmfxrlz ) , ( SELECT * FROM remoteSecure() ) AS j, 'bH>S?<', ( SELECT '' ) AS cbs, ( SELECT * FROM s3('', -669329.20) ) AS nuzp, (CAST(('\0') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 2024.03.06 01:45:19.693815 [ 18085 ] {d91f17a4-5090-456c-9f5b-bdda2989bb36} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS a: While processing (SELECT [], '-;Usc&', [], (SELECT * FROM format()) AS a, (SELECT h3ToGeo('')) AS rmfxrlz) AS _subquery582. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 2024.03.06 01:45:19.829496 [ 18085 ] {b64e1c6e-eb62-4da2-bcef-4344287ad112} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUInt256OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toUInt256OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toUInt256OrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>, DB::NameToUInt256OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a102693 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:19.831975 [ 18085 ] {b64e1c6e-eb62-4da2-bcef-4344287ad112} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUInt256OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toUInt256OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>, DB::NameToUInt256OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a102693 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:19.839320 [ 18085 ] {e4a43615-657f-4a06-b1f6-5898bbea874e} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt64 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsUInt64();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:19.841206 [ 18085 ] {e4a43615-657f-4a06-b1f6-5898bbea874e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt64 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:19.847047 [ 18085 ] {adfb099a-fbea-4f3b-ae7a-996fe8b6c7b7} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.848629 [ 18085 ] {adfb099a-fbea-4f3b-ae7a-996fe8b6c7b7} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [161]) @ 0x2ba374be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:297: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x2ba35c96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:58: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8e441 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:19.997392 [ 18085 ] {c1942408-2fad-4b2f-9c09-79441aad8d60} executeQuery: Code: 42. DB::Exception: Number of arguments for function addNanoseconds doesn't match: passed 0, should be 2 or 3: While processing addNanoseconds(): While processing (SELECT addNanoseconds()) AS gpajngr: While processing toMonday((SELECT addNanoseconds()) AS gpajngr, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toMonday(( SELECT addNanoseconds() ) AS gpajngr, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a96397f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:20.000434 [ 18085 ] {c1942408-2fad-4b2f-9c09-79441aad8d60} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addNanoseconds doesn't match: passed 0, should be 2 or 3: While processing addNanoseconds(): While processing (SELECT addNanoseconds()) AS gpajngr: While processing toMonday((SELECT addNanoseconds()) AS gpajngr, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a96397f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:20.166031 [ 18085 ] {e6a50171-485b-4ae6-b547-7c2263a1eb62} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure('&');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:20.168734 [ 18085 ] {e6a50171-485b-4ae6-b547-7c2263a1eb62} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 2 to 6 parameters: , , [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:20.366372 [ 18085 ] {a62bfcb5-c7b7-4c9c-8f77-48b8100bc347} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array: While processing (SELECT * FROM zeros([])) AS _subquery583: While processing CAST((SELECT * FROM zeros([])) AS _subquery583, 'String'): While processing (SELECT [], CAST((SELECT * FROM zeros([])), 'String'), [multiSearchFirstIndexUTF8(CAST('', 'Date'))], CAST(((SELECT * FROM numbers_mt(CAST('9RUrjD', 'String'))) AS nxxnvi, (SELECT '', 557.51245, [NULL])), 'Date'), (SELECT * FROM jdbc()) AS gz, (SELECT -56, (SELECT unhex()) AS szirn, (SELECT '\0', path('R'), NULL) AS zeuwfg, (SELECT * FROM hdfsCluster([])) AS goh, (SELECT (SELECT ';', CAST(CAST(((SELECT caseWithExpression()), (SELECT * FROM format('\0'))), 'String'), 'String')) AS l, (SELECT regionToPopulation('')) AS xmi, NULL, '', (SELECT SHA384()), (SELECT 'xmgKVa[%') AS gmajpq) AS yezwjkgz) AS g) AS constant_expression. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url(( SELECT [], (CAST((( SELECT * FROM zeros([]) ) ) AS String)), [multiSearchFirstIndexUTF8((CAST(('') AS Date)))], (CAST((( SELECT * FROM numbers_mt((CAST(('9RUrjD') AS String))) ) AS nxxnvi, ( SELECT '', 557.51245, [NULL] ) ) AS Date)), ( SELECT * FROM jdbc() ) AS gz, ( SELECT -56, ( SELECT unhex() ) AS szirn, ( SELECT '\0', path('R'), NULL ) AS zeuwfg, ( SELECT * FROM hdfsCluster([]) ) AS goh, ( SELECT ( SELECT ';', (CAST(((CAST((( SELECT caseWithExpression() ) , ( SELECT * FROM format('\0') ) ) AS String))) AS String)) ) AS l, ( SELECT regionToPopulation('') ) AS xmi, NULL, '', ( SELECT SHA384() ) , ( SELECT 'xmgKVa[%' ) AS gmajpq ) AS yezwjkgz ) AS g ) , ( SELECT * FROM input() ) , timezoneOf(arrayEnumerateUniq(), NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3df44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3dbf2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 2024.03.06 01:45:20.370403 [ 18085 ] {a62bfcb5-c7b7-4c9c-8f77-48b8100bc347} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Array: While processing (SELECT * FROM zeros([])) AS _subquery583: While processing CAST((SELECT * FROM zeros([])) AS _subquery583, 'String'): While processing (SELECT [], CAST((SELECT * FROM zeros([])), 'String'), [multiSearchFirstIndexUTF8(CAST('', 'Date'))], CAST(((SELECT * FROM numbers_mt(CAST('9RUrjD', 'String'))) AS nxxnvi, (SELECT '', 557.51245, [NULL])), 'Date'), (SELECT * FROM jdbc()) AS gz, (SELECT -56, (SELECT unhex()) AS szirn, (SELECT '\0', path('R'), NULL) AS zeuwfg, (SELECT * FROM hdfsCluster([])) AS goh, (SELECT (SELECT ';', CAST(CAST(((SELECT caseWithExpression()), (SELECT * FROM format('\0'))), 'String'), 'String')) AS l, (SELECT regionToPopulation('')) AS xmi, NULL, '', (SELECT SHA384()), (SELECT 'xmgKVa[%') AS gmajpq) AS yezwjkgz) AS g) AS constant_expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3df44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3dbf2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 2024.03.06 01:45:20.511852 [ 18085 ] {167daf22-3c7e-4d67-8df5-ee53cc53e4b9} executeQuery: Code: 42. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 0, should be 1: While processing toLowCardinality(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toLowCardinality();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:20.513928 [ 18085 ] {167daf22-3c7e-4d67-8df5-ee53cc53e4b9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toLowCardinality doesn't match: passed 0, should be 1: While processing toLowCardinality(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:20.662849 [ 18085 ] {090fe51e-6867-416e-9125-c2e44422b16e} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it: While processing (SELECT -4, [sequenceNextNode()], [], mapUpdate(CAST('{<%i^,nk', 'String')), 9834674) AS _subquery585. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, ( SELECT -4, [sequenceNextNode()], [], mapUpdate((CAST(('{<%i^,nk') AS String))), 9834674 ) , ( SELECT * FROM hive() ) AS kksmk, ['\0'], (CAST(([multiSearchAny(regionToDistrict(NULL), '(-')]) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25db02e2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 2024.03.06 01:45:20.665500 [ 18085 ] {090fe51e-6867-416e-9125-c2e44422b16e} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it: While processing (SELECT -4, [sequenceNextNode()], [], mapUpdate(CAST('{<%i^,nk', 'String')), 9834674) AS _subquery585. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x25db02e2 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 2024.03.06 01:45:20.828394 [ 18085 ] {e12939c3-abe8-45ca-b0d7-8f5e341b6a55} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64 provided 1 (Array(String)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['timezone' : const String]): While processing toDateTime64(['k[Qd4G)']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDateTime64(['k[Qd4G)']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x1a05c79d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x1a05c4a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x1a05c45d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x1a05c41d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x1a05c3dd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x1a05c3a5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x1a05c1db in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x1a047afa in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:45:20.830989 [ 18085 ] {e12939c3-abe8-45ca-b0d7-8f5e341b6a55} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDateTime64 provided 1 (Array(String)), expected 2 to 3 ('Value' : , 'scale' : const Integer, ['timezone' : const String]): While processing toDateTime64(['k[Qd4G)']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x1a05c79d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x1a05c4a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x1a05c45d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x1a05c41d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x1a05c3dd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x1a05c3a5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x1a05c1db in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x1a047afa in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:45:20.946375 [ 18085 ] {4db06a42-2f6b-4124-ad41-fb2a5ceafe40} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt256OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt256OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt256OrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToInt256OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bff1e9c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:20.948666 [ 18085 ] {4db06a42-2f6b-4124-ad41-fb2a5ceafe40} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt256OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt256OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped>, DB::NameToInt256OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bff1e9c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:20.955801 [ 18085 ] {522847d5-72e4-4edf-a41e-4f2186f1876e} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt128 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsUInt128();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:20.957786 [ 18085 ] {522847d5-72e4-4edf-a41e-4f2186f1876e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt128 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:21.105772 [ 18085 ] {60fa0b36-48dc-4b00-be38-09ed6dfb3298} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Float64. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros(92044.92403);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3df44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3dbf2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.107666 [ 18085 ] {60fa0b36-48dc-4b00-be38-09ed6dfb3298} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7addc in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aced in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:87: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d3df44 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3dbf2 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.278259 [ 18085 ] {9b60e6a5-ccac-453b-9c57-f6da1f69d7cb} executeQuery: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT row_number(NULL, -51070013.09576);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1452: DB::WindowFunction::fail() const @ 0x2cdec7ac in /usr/bin/clickhouse 7. ? @ 0x2cdeb485 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2cdebb31 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a1d924e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131e65 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:45:21.283999 [ 18085 ] {9b60e6a5-ccac-453b-9c57-f6da1f69d7cb} TCPHandler: Code: 36. DB::Exception: The function 'row_number' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1452: DB::WindowFunction::fail() const @ 0x2cdec7ac in /usr/bin/clickhouse 7. ? @ 0x2cdeb485 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:519: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x2cdebb31 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x2a1d924e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1584: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131e65 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 2024.03.06 01:45:21.412612 [ 18085 ] {f61561ae-bb38-4425-802a-38964e6d27f3} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond(' :e@}%', ''): While processing (SELECT toStartOfSecond(' :e@}%', '')) AS b. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '{wD@j"6', '\0', ( SELECT toStartOfSecond(' :e@}%', '') ) AS b, '\0', 956586.7;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f78fee in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:38: DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x20f77642 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:21.414761 [ 18085 ] {f61561ae-bb38-4425-802a-38964e6d27f3} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond(' :e@}%', ''): While processing (SELECT toStartOfSecond(' :e@}%', '')) AS b. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:121: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f78fee in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:38: DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x20f77642 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:21.529311 [ 18085 ] {929c81ac-6808-4380-bfb0-3c11ffcc2d39} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null([( SELECT ( SELECT s2RectIntersection([]) ) AS ypndhgp ) ], ( SELECT subtractMonths() ) , ( SELECT toDateTime64OrNull(-8802) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d29519 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.531316 [ 18085 ] {929c81ac-6808-4380-bfb0-3c11ffcc2d39} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d29519 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.632725 [ 18085 ] {0e12bb44-8fec-4bc5-ae85-2cc5beb3f578} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectCharset' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectCharset(). (SUPPORT_IS_DISABLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT detectCharset();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTextClassification.h:32: DB::FunctionTextClassificationString, DB::NameDetectCharset>::create(std::shared_ptr) @ 0x19f6136f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver, DB::NameDetectCharset>>(std::shared_ptr) @ 0x19f611ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c496 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c43d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x1974c3fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1974c3a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x2913305e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x2912e4e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x2912d183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cd3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:21.634918 [ 18085 ] {0e12bb44-8fec-4bc5-ae85-2cc5beb3f578} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectCharset' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectCharset(). (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTextClassification.h:32: DB::FunctionTextClassificationString, DB::NameDetectCharset>::create(std::shared_ptr) @ 0x19f6136f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver, DB::NameDetectCharset>>(std::shared_ptr) @ 0x19f611ea in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c496 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c43d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x1974c3fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1974c3a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x2913305e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x2912e4e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x2912d183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cd3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:21.666144 [ 18085 ] {02314f29-bc98-45e9-9e5e-7c2e9cc5b06b} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt16 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt16(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsUInt16();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:21.668096 [ 18085 ] {02314f29-bc98-45e9-9e5e-7c2e9cc5b06b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt16 doesn't match: passed 0, should be 1: While processing reinterpretAsUInt16(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:21.782177 [ 18085 ] {d5bfcec4-bca0-4cc6-be78-9104671cea59} executeQuery: Code: 170. DB::Exception: Requested cluster '' not found. (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster('\0', '=u4i');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:64: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f895 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.784031 [ 18085 ] {d5bfcec4-bca0-4cc6-be78-9104671cea59} TCPHandler: Code: 170. DB::Exception: Requested cluster '' not found. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:64: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f895 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.940473 [ 18085 ] {85a3a2ae-b346-43fa-9906-d31c167a0baf} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql('', '\0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:21.943347 [ 18085 ] {85a3a2ae-b346-43fa-9906-d31c167a0baf} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.120332 [ 18085 ] {1a7dbf2c-8261-4b63-8ddf-8433cd1c760f} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.123140 [ 18085 ] {1a7dbf2c-8261-4b63-8ddf-8433cd1c760f} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.271644 [ 18085 ] {878c1f78-2cb1-4740-bcb6-66e0dc62f86b} executeQuery: Code: 73. DB::Exception: Unknown format H{: While processing (SELECT * FROM hdfs('y|#s ', 'H{')) AS _subquery586. (UNKNOWN_FORMAT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', '\0', ( SELECT * FROM hdfs('y|#s ', 'H{') ) , '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x2c85fe26 in /usr/bin/clickhouse 7. /build/src/Storages/HDFS/StorageHDFS.cpp:167: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, bool, std::shared_ptr) @ 0x28ffb57f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000]&, String const&, DB::StorageHDFS*>(DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7e1bb in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, void, void>(std::allocator&, DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7dea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7db55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7d967 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, void>(String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7d48d in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionHDFS.cpp:20: DB::TableFunctionHDFS::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x28d7d099 in /usr/bin/clickhouse 14. /build/src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d48835 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:45:22.274459 [ 18085 ] {878c1f78-2cb1-4740-bcb6-66e0dc62f86b} TCPHandler: Code: 73. DB::Exception: Unknown format H{: While processing (SELECT * FROM hdfs('y|#s ', 'H{')) AS _subquery586. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:683: DB::FormatFactory::checkFormatName(String const&) const @ 0x2c85fe26 in /usr/bin/clickhouse 7. /build/src/Storages/HDFS/StorageHDFS.cpp:167: DB::StorageHDFS::StorageHDFS(String const&, DB::StorageID const&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, bool, std::shared_ptr) @ 0x28ffb57f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageHDFS* std::construct_at[abi:v15000]&, String const&, DB::StorageHDFS*>(DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7e1bb in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String const&, void, void>(std::allocator&, DB::StorageHDFS*, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7dea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String const&>(std::allocator, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7db55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7d967 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String const&, void>(String const&, DB::StorageID&&, String const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&) @ 0x28d7d48d in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionHDFS.cpp:20: DB::TableFunctionHDFS::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x28d7d099 in /usr/bin/clickhouse 14. /build/src/TableFunctions/ITableFunctionFileLike.cpp:93: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d48835 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 2024.03.06 01:45:22.296792 [ 18085 ] {97432775-59c3-4bd1-810e-75792d7d7c18} executeQuery: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.298872 [ 18085 ] {97432775-59c3-4bd1-810e-75792d7d7c18} TCPHandler: Code: 42. DB::Exception: Table function 'clusterAllReplicas' requires from 2 to 4 parameters: , , [, sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.443193 [ 632 ] {5d59c157-dcc9-4094-923a-15c374366f79} executeQuery: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50596) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id0 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.443190 [ 18085 ] {29fa650f-8079-4748-81cf-7de155b0f57a} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.444140 [ 632 ] {5d59c157-dcc9-4094-923a-15c374366f79} TCPHandler: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.445070 [ 18085 ] {29fa650f-8079-4748-81cf-7de155b0f57a} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.452697 [ 18085 ] {b1a776a0-0a15-4f62-bf42-fd9c6720f88a} executeQuery: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 2, should be 0: While processing queryID(NULL, '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT queryID(NULL, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:22.454609 [ 18085 ] {b1a776a0-0a15-4f62-bf42-fd9c6720f88a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function queryID doesn't match: passed 2, should be 0: While processing queryID(NULL, '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:22.462694 [ 632 ] {830731b7-b8de-4a8e-9e83-d8275173762e} executeQuery: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50596) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id1 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.463629 [ 632 ] {830731b7-b8de-4a8e-9e83-d8275173762e} TCPHandler: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f19c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.591521 [ 18085 ] {a35df7a4-3d7a-49f2-80e6-bddb1587d037} executeQuery: Code: 42. DB::Exception: Number of arguments for function addMinutes doesn't match: passed 1, should be 2 or 3: While processing addMinutes(['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addMinutes(['']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a92edff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:22.593886 [ 18085 ] {a35df7a4-3d7a-49f2-80e6-bddb1587d037} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addMinutes doesn't match: passed 1, should be 2 or 3: While processing addMinutes(['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a92edff in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:22.601714 [ 18085 ] {7d1e9ffa-b5ef-455b-b3d3-e924a768c2ea} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapTransform doesn't match: passed 2, should be 3: While processing bitmapTransform(NULL, NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapTransform(NULL, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:22.604166 [ 18085 ] {7d1e9ffa-b5ef-455b-b3d3-e924a768c2ea} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapTransform doesn't match: passed 2, should be 3: While processing bitmapTransform(NULL, NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:22.612715 [ 18085 ] {b861c919-70de-4561-b853-af4de0af187c} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge(h3GetIndexesFromUnidirectionalEdge());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.614487 [ 18085 ] {b861c919-70de-4561-b853-af4de0af187c} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:22.743947 [ 18085 ] {d9238f80-c17f-4759-8151-9ff2c6c97079} executeQuery: Code: 42. DB::Exception: The signature of table function 'deltaLake' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM deltaLake()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url(( SELECT * FROM deltaLake() ) AS hdc, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionURL.cpp:75: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d48ffa in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 2024.03.06 01:45:22.746874 [ 18085 ] {d9238f80-c17f-4759-8151-9ff2c6c97079} TCPHandler: Code: 42. DB::Exception: The signature of table function 'deltaLake' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM deltaLake()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionURL.cpp:75: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d48ffa in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 2024.03.06 01:45:22.888208 [ 18085 ] {bf171218-e7d0-4c0b-8abf-9d1066e621c3} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUInt32OrZero doesn't match: passed 2, should be 1. Second argument makes sense only for DateTime and Decimal.: While processing L1Norm([], toUInt32OrZero('@K$k=@', '')): While processing (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))) AS _subquery587: While processing (SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh: While processing [(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf]: While processing CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'): While processing (SELECT 66142675, CAST(-8949, 'Date'), CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'), [''], CAST(NULL, 'DateTime')) AS mwmmixin: While processing [(SELECT 66142675, CAST(-8949, 'Date'), CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'), [''], CAST(NULL, 'DateTime')) AS mwmmixin]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', (CAST((COVAR_POP([50.02])) AS DateTime)), [( SELECT 66142675, (CAST((-8949) AS Date)), (CAST(([( SELECT ( SELECT normL1([], toUInt32OrZero('@K$k=@', '')) ) , ( SELECT '\0' ) ) AS yrh, ( SELECT * FROM cosn('\vgY{') ) AS esbcdfhf]) AS String)), [''], (CAST((NULL) AS DateTime)) ) AS mwmmixin];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2118: DB::FunctionConvertFromString, DB::NameToUInt32OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a088620 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:22.890987 [ 18085 ] {bf171218-e7d0-4c0b-8abf-9d1066e621c3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUInt32OrZero doesn't match: passed 2, should be 1. Second argument makes sense only for DateTime and Decimal.: While processing L1Norm([], toUInt32OrZero('@K$k=@', '')): While processing (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))) AS _subquery587: While processing (SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh: While processing [(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf]: While processing CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'): While processing (SELECT 66142675, CAST(-8949, 'Date'), CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'), [''], CAST(NULL, 'DateTime')) AS mwmmixin: While processing [(SELECT 66142675, CAST(-8949, 'Date'), CAST([(SELECT (SELECT L1Norm([], toUInt32OrZero('@K$k=@', ''))), (SELECT '\0')) AS yrh, (SELECT * FROM cosn(' gY{')) AS esbcdfhf], 'String'), [''], CAST(NULL, 'DateTime')) AS mwmmixin]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2118: DB::FunctionConvertFromString, DB::NameToUInt32OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a088620 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:22.901433 [ 18085 ] {8dd559ca-3bc2-44d1-89fb-0d709b009e50} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('/m', 'DateTime'), '', 'yFDue+L('. (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('/m') AS DateTime)), '', 'yFDue+L(';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:22.903508 [ 18085 ] {8dd559ca-3bc2-44d1-89fb-0d709b009e50} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('/m', 'DateTime'), '', 'yFDue+L('. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x19808837 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1211: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222814b6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:23.040054 [ 18085 ] {01c2a420-2a41-4389-a43a-b9198f17a822} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimal256OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal256OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDecimal256OrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>>, DB::NameToDecimal256OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a14a6a0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:23.042460 [ 18085 ] {01c2a420-2a41-4389-a43a-b9198f17a822} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimal256OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal256OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString>>, DB::NameToDecimal256OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a14a6a0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:23.186589 [ 18085 ] {2db6aaf4-cf7b-42fa-99d6-c63428f95a04} executeQuery: Code: 42. DB::Exception: Number of arguments for function replaceOne doesn't match: passed 2, should be 3: While processing replaceOne('', '\0'), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT stddevPopStable(replaceOne('', '\0'), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a0bb43e in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bb935 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:23.188848 [ 18085 ] {2db6aaf4-cf7b-42fa-99d6-c63428f95a04} TCPHandler: Code: 42. DB::Exception: Number of arguments for function replaceOne doesn't match: passed 2, should be 3: While processing replaceOne('', '\0'), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a0bb43e in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bb935 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:23.323349 [ 18085 ] {40383f2a-b5e6-4881-b4b2-47ff349a496e} executeQuery: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format('', '^I');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c85b79c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:670: DB::FormatFactory::checkIfFormatHasExternalSchemaReader(String const&) const @ 0x2c85fcfd in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:59: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c881b5e in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b5ff in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:45:23.325233 [ 18085 ] {40383f2a-b5e6-4881-b4b2-47ff349a496e} TCPHandler: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x2c85b79c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:670: DB::FormatFactory::checkIfFormatHasExternalSchemaReader(String const&) const @ 0x2c85fcfd in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:59: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x2c881b5e in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:204: DB::readSchemaFromFormat(String const&, std::optional const&, std::function> (DB::ColumnsDescription&)>&, bool, std::shared_ptr&) @ 0x2c8837a8 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:62: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr) const @ 0x28d9aebb in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFormat.cpp:92: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d9b5ff in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:45:23.457485 [ 18085 ] {51227098-a18a-43b9-9b12-ea084d418729} executeQuery: Code: 53. DB::Exception: ARRAY JOIN requires array argument: While processing arrayJoin('[8OsU'). (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT distanceL1((CAST((toDateTimeOrNull()) AS Date)), quantileExactInclusive(arrayJoin('[8OsU')));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsDAG.cpp:177: DB::ActionsDAG::addArrayJoin(DB::ActionsDAG::Node const&, String) @ 0x29dbd6b4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.cpp:657: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a0fa8f7 in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a106fcd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb90b in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a0bb43e in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bb935 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:45:23.459728 [ 18085 ] {51227098-a18a-43b9-9b12-ea084d418729} TCPHandler: Code: 53. DB::Exception: ARRAY JOIN requires array argument: While processing arrayJoin('[8OsU'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [35]) @ 0x197ad6be in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsDAG.cpp:177: DB::ActionsDAG::addArrayJoin(DB::ActionsDAG::Node const&, String) @ 0x29dbd6b4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.cpp:657: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x2a0fa8f7 in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.h:177: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x2a106fcd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:899: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb90b in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:584: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x2a0bb43e in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:639: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bb935 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 2024.03.06 01:45:23.615643 [ 18085 ] {3f08e1a5-d6ac-4980-a81c-3ca2455553a7} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension: While processing (SELECT * FROM url(CAST('', 'String'))) AS _subquery589: While processing hasTokenCaseInsensitiveOrNull((SELECT * FROM url(CAST('', 'String'))) AS _subquery589, (SELECT * FROM mysql()) AS ads, bar(CAST(68018, 'String'), '\0')). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hasTokenCaseInsensitiveOrNull((SELECT * FROM url(CAST('', 'String'))), (SELECT * FROM mysql()) AS ads, bar(CAST(68018, 'String'), '\0'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x1973f97e in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x2c85eb4a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:120: DB::TableFunctionURL::getFormatFromFirstArgument() @ 0x28d49642 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:63: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d48207 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:80: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d49094 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 2024.03.06 01:45:23.617606 [ 18085 ] {3f08e1a5-d6ac-4980-a81c-3ca2455553a7} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension: While processing (SELECT * FROM url(CAST('', 'String'))) AS _subquery589: While processing hasTokenCaseInsensitiveOrNull((SELECT * FROM url(CAST('', 'String'))) AS _subquery589, (SELECT * FROM mysql()) AS ads, bar(CAST(68018, 'String'), '\0')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [51]) @ 0x1973f97e in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:526: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x2c85eb4a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:120: DB::TableFunctionURL::getFormatFromFirstArgument() @ 0x28d49642 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:63: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d48207 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:80: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d49094 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 2024.03.06 01:45:23.627781 [ 18085 ] {9de75fc1-7cfb-41b2-af93-d61439553362} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceSpherical doesn't match: passed 0, should be 2: While processing '', ['eH'], polygonsDistanceSpherical(), NULL. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', ['eH'], polygonsDistanceSpherical(), NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:23.629753 [ 18085 ] {9de75fc1-7cfb-41b2-af93-d61439553362} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsDistanceSpherical doesn't match: passed 0, should be 2: While processing '', ['eH'], polygonsDistanceSpherical(), NULL. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:23.769495 [ 18085 ] {eb44d454-5c9e-4c66-b199-b814f64fc8b6} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss([['J']]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c665 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:23.771456 [ 18085 ] {eb44d454-5c9e-4c66-b199-b814f64fc8b6} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x19b31fc8 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:24: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x2bc7abf8 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:15: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x2bc7aae0 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c665 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:23.931335 [ 18085 ] {623c02f7-7b08-45d1-ac48-6d2e0b45d49e} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt16OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt16OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt16OrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped, DB::NameToInt16OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfeaa9c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:23.933769 [ 18085 ] {623c02f7-7b08-45d1-ac48-6d2e0b45d49e} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt16OrDefault provided 0, expected 1 to 2 ('Value' : , ['default_value' : ]): While processing toInt16OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:220: DB::FunctionCastOrDefaultTyped, DB::NameToInt16OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x1bfeaa9c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:24.063070 [ 18085 ] {13b99793-5345-4300-b7dc-9fe484dd88cc} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetUInt32OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUInt32OrDefault();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1c4931 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt32OrDefault, (DB::DictionaryGetFunctionType)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1e0468 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:24.065526 [ 18085 ] {13b99793-5345-4300-b7dc-9fe484dd88cc} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGetOrDefault: While processing dictGetUInt32OrDefault(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)1>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1c4931 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt32OrDefault, (DB::DictionaryGetFunctionType)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1e0468 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:24.208142 [ 18085 ] {58195a28-7616-4873-b63e-5842c1d59207} executeQuery: Code: 42. DB::Exception: The signature of table function 'deltaLake' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM deltaLake()) AS _subquery590. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['XPB6Ojt'], ( SELECT * FROM deltaLake() ) , ( SELECT replaceRegexpAll(( SELECT rightPadUTF8() ) AS nckjkcjz) ) , [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 2024.03.06 01:45:24.211018 [ 18085 ] {58195a28-7616-4873-b63e-5842c1d59207} TCPHandler: Code: 42. DB::Exception: The signature of table function 'deltaLake' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method: While processing (SELECT * FROM deltaLake()) AS _subquery590. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 2024.03.06 01:45:24.220651 [ 18085 ] {0fdc660e-97c9-4be8-8123-4c38f4257f51} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(-9176). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT L2Distance(-9176);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.228399 [ 18085 ] {0fdc660e-97c9-4be8-8123-4c38f4257f51} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(-9176). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.234937 [ 18085 ] {08b332c8-f1b1-4666-a3f4-60bde537ba6f} executeQuery: Code: 42. DB::Exception: Table function 'file' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.237036 [ 18085 ] {08b332c8-f1b1-4666-a3f4-60bde537ba6f} TCPHandler: Code: 42. DB::Exception: Table function 'file' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.371396 [ 18085 ] {9560a203-fab9-418c-8983-4a0809d13dda} executeQuery: Code: 43. DB::Exception: First argument of function randomString must have numeric type: While processing randomString([]): While processing (SELECT randomString([])) AS _subquery592: While processing ((SELECT randomString([])) AS _subquery592, (SELECT toFloat32OrZero(portRFC([]))) AS q): While processing CAST(((SELECT randomString([])) AS _subquery592, (SELECT toFloat32OrZero(portRFC([]))) AS q), 'String'): While processing (SELECT CAST(((SELECT randomString([])), (SELECT toFloat32OrZero(portRFC([]))) AS q), 'String'), '\0', NULL) AS ojymco. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT (CAST((( SELECT randomString([]) ) , ( SELECT toFloat32OrZero(portRFC([])) ) AS q) AS String)), '\0', NULL ) AS ojymco, ( SELECT * FROM zeros() ) AS urt, NULL, '', ';WnXwy';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/randomString.cpp:52: DB::(anonymous namespace)::FunctionRandomStringImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20d046b9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:24.374373 [ 18085 ] {9560a203-fab9-418c-8983-4a0809d13dda} TCPHandler: Code: 43. DB::Exception: First argument of function randomString must have numeric type: While processing randomString([]): While processing (SELECT randomString([])) AS _subquery592: While processing ((SELECT randomString([])) AS _subquery592, (SELECT toFloat32OrZero(portRFC([]))) AS q): While processing CAST(((SELECT randomString([])) AS _subquery592, (SELECT toFloat32OrZero(portRFC([]))) AS q), 'String'): While processing (SELECT CAST(((SELECT randomString([])), (SELECT toFloat32OrZero(portRFC([]))) AS q), 'String'), '\0', NULL) AS ojymco. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/randomString.cpp:52: DB::(anonymous namespace)::FunctionRandomStringImpl::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20d046b9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:24.381086 [ 18085 ] {cd5185b6-a5f4-4e45-aef7-560aaac61ad2} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.383004 [ 18085 ] {cd5185b6-a5f4-4e45-aef7-560aaac61ad2} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.507925 [ 18085 ] {e6a0f572-3215-4f1b-8fc3-41367fa94d1d} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr) const @ 0x28d503f9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d505a4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.510117 [ 18085 ] {e6a0f572-3215-4f1b-8fc3-41367fa94d1d} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr) const @ 0x28d503f9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d505a4 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.626916 [ 18085 ] {3fc4fbf1-fdc0-45fa-aaa3-9d34bc561cd9} executeQuery: Code: 35. DB::Exception: Number of arguments for function bitTestAny doesn't match: passed 1, should be at least 2.: While processing bitTestAny([]): While processing (SELECT bitTestAny([])) AS xoakim: While processing bitmapContains((SELECT bitTestAny([])) AS xoakim, CAST(CAST('aQ0_s', 'String'), 'DateTime')). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapContains(( SELECT bitTestAny([]) ) AS xoakim, (CAST(((CAST(('aQ0_s') AS String))) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBitTestMany.h:39: DB::FunctionBitTestMany::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bde2d66 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:24.629197 [ 18085 ] {3fc4fbf1-fdc0-45fa-aaa3-9d34bc561cd9} TCPHandler: Code: 35. DB::Exception: Number of arguments for function bitTestAny doesn't match: passed 1, should be at least 2.: While processing bitTestAny([]): While processing (SELECT bitTestAny([])) AS xoakim: While processing bitmapContains((SELECT bitTestAny([])) AS xoakim, CAST(CAST('aQ0_s', 'String'), 'DateTime')). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBitTestMany.h:39: DB::FunctionBitTestMany::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1bde2d66 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:24.635123 [ 18085 ] {0d231b17-717a-4afa-a68f-e85f00e09735} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.636788 [ 18085 ] {0d231b17-717a-4afa-a68f-e85f00e09735} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:43: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9aa8a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.642755 [ 18085 ] {3741ae89-3ccf-4b54-b092-89ec9416b0cf} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayFlatten doesn't match: passed 0, should be 1: While processing arrayFlatten(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT flatten();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.644629 [ 18085 ] {3741ae89-3ccf-4b54-b092-89ec9416b0cf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayFlatten doesn't match: passed 0, should be 1: While processing arrayFlatten(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.652428 [ 18085 ] {1e7cff84-2feb-4aae-969d-b13e26eb7656} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3ExactEdgeLengthKm doesn't match: passed 0, should be 1: While processing h3ExactEdgeLengthKm(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3ExactEdgeLengthKm();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.655129 [ 18085 ] {1e7cff84-2feb-4aae-969d-b13e26eb7656} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3ExactEdgeLengthKm doesn't match: passed 0, should be 1: While processing h3ExactEdgeLengthKm(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:24.785204 [ 18085 ] {174fe654-0adb-466b-8073-aaed698eb96d} executeQuery: Code: 636. DB::Exception: Table function 'generateRandom' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:81: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr) const @ 0x28d52d59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:94: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d52ebf in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.787205 [ 18085 ] {174fe654-0adb-466b-8073-aaed698eb96d} TCPHandler: Code: 636. DB::Exception: Table function 'generateRandom' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:81: DB::TableFunctionGenerateRandom::getActualTableStructure(std::shared_ptr) const @ 0x28d52d59 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:94: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d52ebf in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:24.975605 [ 18085 ] {f880d7cd-dc16-4255-9e6a-583919aa001d} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names.: While processing (SELECT * FROM merge()) AS _subquery593: While processing NULL OR ((SELECT * FROM merge()) AS _subquery593): While processing (SELECT NULL OR (SELECT * FROM merge())) AS constant_expression: While processing (SELECT * FROM s3((SELECT NULL OR (SELECT * FROM merge())), (SELECT * FROM odbc()))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss(( SELECT * FROM s3(( SELECT or(NULL, ( SELECT * FROM merge() ) ) ) , ( SELECT * FROM odbc() ) ) ) , ( SELECT '', '\0', ['\0'], TimeDiff(), -20.3 ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:24.978767 [ 18085 ] {f880d7cd-dc16-4255-9e6a-583919aa001d} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names.: While processing (SELECT * FROM merge()) AS _subquery593: While processing NULL OR ((SELECT * FROM merge()) AS _subquery593): While processing (SELECT NULL OR (SELECT * FROM merge())) AS constant_expression: While processing (SELECT * FROM s3((SELECT NULL OR (SELECT * FROM merge())), (SELECT * FROM odbc()))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:25.099967 [ 18085 ] {56529a55-1741-4b7d-b1e1-600707644b37} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function multiSearchFirstPositionCaseInsensitive: While processing toInt128OrDefault(multiSearchFirstPositionCaseInsensitive(-713.7, '#!L')): While processing (SELECT toInt128OrDefault(multiSearchFirstPositionCaseInsensitive(-713.7, '#!L'))) AS _subquery594. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33162) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date)), 359993.73528, h3EdgeAngle(), ( SELECT toInt128OrDefault(multiSearchFirstPositionCaseInsensitive(-713.7, '#!L')) ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringSearch.h:74: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fa02cb1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:25.102111 [ 18085 ] {56529a55-1741-4b7d-b1e1-600707644b37} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function multiSearchFirstPositionCaseInsensitive: While processing toInt128OrDefault(multiSearchFirstPositionCaseInsensitive(-713.7, '#!L')): While processing (SELECT toInt128OrDefault(multiSearchFirstPositionCaseInsensitive(-713.7, '#!L'))) AS _subquery594. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringSearch.h:74: DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1fa02cb1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:28.294644 [ 8851 ] {1722853b-5843-46c7-9c2a-dac1cee721b7} executeQuery: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50830) (comment: 00698_validate_array_sizes_for_nested.sql) (in query: INSERT INTO mergetree_00698 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x29ad4f08 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:245: DB::Nested::validateArraySizes(DB::Block const&) @ 0x29ad396d in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d93f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:45:28.296022 [ 8851 ] {1722853b-5843-46c7-9c2a-dac1cee721b7} TCPHandler: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x29ad4f08 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:245: DB::Nested::validateArraySizes(DB::Block const&) @ 0x29ad396d in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d93f in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 01:45:28.540344 [ 632 ] {5914fd29-e7aa-480e-89a1-ba81e9319568} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50738) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarPop(a, a), covarPop(b, b), covarPop(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da4f1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:28.542102 [ 632 ] {5914fd29-e7aa-480e-89a1-ba81e9319568} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da4f1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:28.666151 [ 632 ] {c06b203c-f397-457d-b943-099479e44446} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50738) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarSamp(a, a), covarSamp(b, b), covarSamp(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da2b1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:28.668010 [ 632 ] {c06b203c-f397-457d-b943-099479e44446} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da2b1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:28.798849 [ 632 ] {1f5eff69-9a44-4e8d-a321-376be552bd7a} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50738) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT corr(a, a), corr(b, b), corr(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x243a1d91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:28.800847 [ 632 ] {1f5eff69-9a44-4e8d-a321-376be552bd7a} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x243a1d91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:30.773121 [ 18085 ] {5408e3c7-5da4-4149-bb0a-0f416e25d8bd} executeQuery: Code: 42. DB::Exception: Aggregate function covarSamp requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT murmurHash3_128(COVAR_SAMP('\0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x226497c1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:267: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da175 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:45:30.775731 [ 18085 ] {5408e3c7-5da4-4149-bb0a-0f416e25d8bd} TCPHandler: Code: 42. DB::Exception: Aggregate function covarSamp requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x226497c1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:267: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x242da175 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:45:30.905374 [ 18085 ] {fc92d3e5-4f6e-424c-be53-cefd19f86383} executeQuery: Code: 43. DB::Exception: Illegal type String of 0 argument of function geohashEncode expected float: While processing geohashEncode(''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT geohashEncode('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, char const*&) @ 0x29135c64 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:108: DB::validateArgumentType(DB::IFunction const&, std::vector, std::allocator>> const&, unsigned long, bool (*)(DB::IDataType const&), char const*) @ 0x2913395b in /usr/bin/clickhouse 7. /build/src/Functions/geohashEncode.cpp:46: DB::(anonymous namespace)::FunctionGeohashEncode::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1cbc5716 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:30.907632 [ 18085 ] {fc92d3e5-4f6e-424c-be53-cefd19f86383} TCPHandler: Code: 43. DB::Exception: Illegal type String of 0 argument of function geohashEncode expected float: While processing geohashEncode(''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, char const*&) @ 0x29135c64 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:108: DB::validateArgumentType(DB::IFunction const&, std::vector, std::allocator>> const&, unsigned long, bool (*)(DB::IDataType const&), char const*) @ 0x2913395b in /usr/bin/clickhouse 7. /build/src/Functions/geohashEncode.cpp:46: DB::(anonymous namespace)::FunctionGeohashEncode::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1cbc5716 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:30.916035 [ 18085 ] {862804a0-79d1-498c-9fb9-239eca522f76} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:31.023462 [ 18086 ] {925b3b1f-99fc-4ddb-bcb1-91ed80877843} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d890d72 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89004d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d88fc82 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d88bf7a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fb0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.023929 [ 18085 ] {862804a0-79d1-498c-9fb9-239eca522f76} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:31.024919 [ 18086 ] {925b3b1f-99fc-4ddb-bcb1-91ed80877843} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d890d72 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89004d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d88fc82 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d88bf7a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fb0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.147976 [ 18085 ] {3e792924-a48f-4081-b318-e4b9bc761ecf} executeQuery: Code: 43. DB::Exception: Illegal types String and String of arguments of function bitShiftRight: While processing bitShiftRight('', '*KZ=)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitShiftRight('', '*KZ=)');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1bbbfb69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ba318cf in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:31.260139 [ 18086 ] {0d99bcb5-8feb-4f8f-b604-b8ce0e2b7f40} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d8929f2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d891ccd in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d891902 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d88bffa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fca in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.261045 [ 18085 ] {3e792924-a48f-4081-b318-e4b9bc761ecf} TCPHandler: Code: 43. DB::Exception: Illegal types String and String of arguments of function bitShiftRight: While processing bitShiftRight('', '*KZ=)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x19f799e8 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1410: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1bbbfb69 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2155: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1ba318cf in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:357: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x1a5b1de9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:31.262123 [ 18086 ] {0d99bcb5-8feb-4f8f-b604-b8ce0e2b7f40} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d8929f2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d891ccd in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d891902 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d88bffa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fca in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.272412 [ 18085 ] {7a847727-77c0-4c63-9c8e-5834ae80eb7e} executeQuery: Code: 42. DB::Exception: Number of arguments for function left doesn't match: passed 1, should be 2: While processing left([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT left([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:31.375106 [ 18086 ] {0b67864a-68b1-43d2-822e-eb6050e38dd0} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d894752 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d893a10 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d893622 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d88c07a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fe4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.375357 [ 18085 ] {7a847727-77c0-4c63-9c8e-5834ae80eb7e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function left doesn't match: passed 1, should be 2: While processing left([]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:31.376395 [ 18086 ] {0b67864a-68b1-43d2-822e-eb6050e38dd0} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d894752 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d893a10 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d893622 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d88c07a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d769fe4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764baf in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.504703 [ 18085 ] {88d03faa-dbdb-4209-bcb7-ab60b1b276a1} executeQuery: Code: 591. DB::Exception: Failed to fetch table structure for #3: While processing (SELECT * FROM sqlite('k$fC+t"', '#3')) AS constant_expression. (SQLITE_ENGINE_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc(-3, ( SELECT * FROM sqlite('k$fC+t"', '#3') ) AS jtyhxqhz);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:54: DB::TableFunctionSQLite::getActualTableStructure(std::shared_ptr) const @ 0x28d95d0a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionSQLite.cpp:36: DB::TableFunctionSQLite::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d959bf in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunctionXDBC.cpp:40: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8270b in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 2024.03.06 01:45:31.643581 [ 18086 ] {59ee1fe8-47f0-4b88-b241-09feefc584e0} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d89d0b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89c38d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89bfc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d8982ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a270 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.643824 [ 18085 ] {88d03faa-dbdb-4209-bcb7-ab60b1b276a1} TCPHandler: Code: 591. DB::Exception: Failed to fetch table structure for #3: While processing (SELECT * FROM sqlite('k$fC+t"', '#3')) AS constant_expression. (SQLITE_ENGINE_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:54: DB::TableFunctionSQLite::getActualTableStructure(std::shared_ptr) const @ 0x28d95d0a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionSQLite.cpp:36: DB::TableFunctionSQLite::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d959bf in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunctionXDBC.cpp:40: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d8270b in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 2024.03.06 01:45:31.645354 [ 18086 ] {59ee1fe8-47f0-4b88-b241-09feefc584e0} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d89d0b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89c38d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89bfc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d8982ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a270 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.765842 [ 18085 ] {b85c4c45-7ed3-4f74-8301-be32a466b3c1} executeQuery: Code: 43. DB::Exception: Argument 0 of function L1Norm should be tuple, got String: While processing L1Normalize('\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT L1Normalize('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/vectorFunctions.cpp:709: DB::FunctionLNorm::getReturnTypeImpl(std::vector> const&) const @ 0x211e9029 in /usr/bin/clickhouse 7. /build/src/Functions/vectorFunctions.cpp:1288: DB::FunctionLNormalize::getReturnTypeImpl(std::vector> const&) const @ 0x21206b73 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:31.870667 [ 18086 ] {efd913e4-73ee-4ea5-9190-4a2c292b1fc2} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d89edd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89e0ad in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89dce2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d89833a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a28a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.871095 [ 18085 ] {b85c4c45-7ed3-4f74-8301-be32a466b3c1} TCPHandler: Code: 43. DB::Exception: Argument 0 of function L1Norm should be tuple, got String: While processing L1Normalize('\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/vectorFunctions.cpp:709: DB::FunctionLNorm::getReturnTypeImpl(std::vector> const&) const @ 0x211e9029 in /usr/bin/clickhouse 7. /build/src/Functions/vectorFunctions.cpp:1288: DB::FunctionLNormalize::getReturnTypeImpl(std::vector> const&) const @ 0x21206b73 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:31.872297 [ 18086 ] {efd913e4-73ee-4ea5-9190-4a2c292b1fc2} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x1d89edd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89e0ad in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89dce2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x1d89833a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a28a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:31.994442 [ 18086 ] {86b0c787-e2c0-410e-81e8-b26c556ce37b} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d8a0af2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89fd90 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89f9a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d8983ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a2a4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.232886 [ 18085 ] {3e8122e0-8e17-4d35-89ff-4dfb71e54f31} executeQuery: Code: 41. DB::ParsingException: Cannot parse DateTime 8574.21: Cannot parse DateTime from String: While processing '', CAST(CAST(8574.21, 'String'), 'DateTime'): While processing (SELECT '', CAST(CAST(8574.21, 'String'), 'DateTime')) AS qskbs. (CANNOT_PARSE_DATETIME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [(CAST(('[[C,Ja=') AS String))], ( SELECT '', (CAST(((CAST((8574.21) AS String))) AS DateTime)) ) AS qskbs, ( SELECT h3GetResolution(), -2716878.59 ) AS l, '\0', '0Z/{>N';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, char (&) [19]) @ 0x22281653 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1161: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222810c2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:32.232992 [ 18086 ] {86b0c787-e2c0-410e-81e8-b26c556ce37b} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x1d8a0af2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d89fd90 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d89f9a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x1d8983ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a2a4 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bc5 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.235382 [ 18085 ] {3e8122e0-8e17-4d35-89ff-4dfb71e54f31} TCPHandler: Code: 41. DB::ParsingException: Cannot parse DateTime 8574.21: Cannot parse DateTime from String: While processing '', CAST(CAST(8574.21, 'String'), 'DateTime'): While processing (SELECT '', CAST(CAST(8574.21, 'String'), 'DateTime')) AS qskbs. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, char (&) [19]) @ 0x22281653 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1161: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x222810c2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:977: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26c76 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1055: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x19b26945 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1007: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*) @ 0x19b2688d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1335: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x19b2673c in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1953: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x19b20ff8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x19b10f59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2000: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10288 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 2024.03.06 01:45:32.380052 [ 18086 ] {75818f31-c030-49c2-8c18-9c8ea2bfe2d7} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d8a94b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8a8753 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8a8382 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d8a467a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a530 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.495985 [ 18085 ] {f35a62fd-92bc-4e99-b806-e3afdef13bae} executeQuery: Code: 43. DB::Exception: First argument for function arrayCumSum must be a function. Actual String: While processing 'Ipt', CAST('D', 'String'), NULL, arrayCumSum('', []), '' LIKE wordShingleMinHash([CAST([], 'String')], ['\0']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'Ipt', (CAST(('D') AS String)), NULL, arrayCumSum('', []), like('', wordShingleMinHash([(CAST(([]) AS String))], ['\0']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x2144d50a in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:32.496546 [ 18086 ] {75818f31-c030-49c2-8c18-9c8ea2bfe2d7} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d8a94b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8a8753 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8a8382 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d8a467a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a530 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.498186 [ 18085 ] {f35a62fd-92bc-4e99-b806-e3afdef13bae} TCPHandler: Code: 43. DB::Exception: First argument for function arrayCumSum must be a function. Actual String: While processing 'Ipt', CAST('D', 'String'), NULL, arrayCumSum('', []), '' LIKE wordShingleMinHash([CAST([], 'String')], ['\0']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:224: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x2144d50a in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:32.629310 [ 18085 ] {b6450f5c-3c37-4b88-a59d-af0bc6884186} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseDateTimeBestEffortUS doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing parseDateTimeBestEffortUS(), '\0', 'mB@9T6n^', '>2R'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTimeBestEffortUS(), '\0', 'mB@9T6n^', '>2R';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a168ad3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:32.744239 [ 18086 ] {edb47a84-0ff8-4fdd-9146-1032856078ee} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d8ab2d2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8aa573 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8aa1a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d8a46fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a54a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.744799 [ 18085 ] {b6450f5c-3c37-4b88-a59d-af0bc6884186} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseDateTimeBestEffortUS doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing parseDateTimeBestEffortUS(), '\0', 'mB@9T6n^', '>2R'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2083: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a168ad3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:32.745502 [ 18086 ] {edb47a84-0ff8-4fdd-9146-1032856078ee} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x1d8ab2d2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8aa573 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8aa1a2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x1d8a46fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a54a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.862212 [ 18085 ] {e426bc74-f5fa-4ddc-9dcb-f13dbbe24f86} executeQuery: Code: 43. DB::Exception: First argument of function randomPrintableASCII must have numeric type: While processing randomPrintableASCII('8GK'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT randomPrintableASCII('8GK');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/randomPrintableASCII.cpp:53: DB::(anonymous namespace)::FunctionRandomPrintableASCII::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20d02eb9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:32.970200 [ 18086 ] {b43a32ca-af20-42e0-8ad6-02f9b5b1f7bf} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50784) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x1d8ad132 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8ac3b3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8abfc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x1d8a477a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a564 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:32.970598 [ 18085 ] {e426bc74-f5fa-4ddc-9dcb-f13dbbe24f86} TCPHandler: Code: 43. DB::Exception: First argument of function randomPrintableASCII must have numeric type: While processing randomPrintableASCII('8GK'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/randomPrintableASCII.cpp:53: DB::(anonymous namespace)::FunctionRandomPrintableASCII::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x20d02eb9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:32.971709 [ 18086 ] {b43a32ca-af20-42e0-8ad6-02f9b5b1f7bf} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [52]) @ 0x1a3a6cbe in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x1d8ad132 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x1d8ac3b3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d8abfc2 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x1d8a477a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d76a564 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x1d764bdb in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1d7610cc in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x2cce5947 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x2cf3f286 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x2ae34e51 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2728: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x2ae293e2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1689: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20ce5 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:45:33.091015 [ 18085 ] {c2477d77-a62b-45f5-a397-030cf9b919b1} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesExactInclusive requires single argument: While processing (SELECT quantilesExactInclusive()) AS pdjotkfk: While processing varPopStable([NULL], (SELECT quantilesExactInclusive()) AS pdjotkfk). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT varPopStable([NULL], ( SELECT quantilesExactInclusive() ) AS pdjotkfk);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantilesExactInclusive, false, double, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x233651ad in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x233443c4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 2024.03.06 01:45:33.093310 [ 18085 ] {c2477d77-a62b-45f5-a397-030cf9b919b1} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesExactInclusive requires single argument: While processing (SELECT quantilesExactInclusive()) AS pdjotkfk: While processing varPopStable([NULL], (SELECT quantilesExactInclusive()) AS pdjotkfk). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantilesExactInclusive, false, double, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x233651ad in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileExactInclusive.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x233443c4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 2024.03.06 01:45:33.210619 [ 18085 ] {1329cc74-087d-48de-b15e-f93eb97ea284} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive((CAST((( SELECT JSON_VALUE(( SELECT 'o', NULL ) ) ) AS wy, ( SELECT multiIf() ) AS seephiou) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28da4177 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.212681 [ 18085 ] {1329cc74-087d-48de-b15e-f93eb97ea284} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28da4177 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.342799 [ 18085 ] {89383cb4-4b76-44d6-bd8f-40590fcfeb22} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type: While processing (SELECT * FROM numbers_mt(NULL, -83)) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM iceberg([], ( SELECT * FROM numbers_mt(NULL, -83) ) AS uce, ( SELECT * FROM executable('\0') ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d26308 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2536d in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionS3.cpp:46: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b689 in /usr/bin/clickhouse 31. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7a62d in /usr/bin/clickhouse 2024.03.06 01:45:33.345196 [ 18085 ] {89383cb4-4b76-44d6-bd8f-40590fcfeb22} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(Nothing) expression, must be numeric type: While processing (SELECT * FROM numbers_mt(NULL, -83)) AS constant_expression. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x28d26308 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2536d in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1343: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bbec0 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionS3.cpp:46: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b689 in /usr/bin/clickhouse 31. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7a62d in /usr/bin/clickhouse 2024.03.06 01:45:33.470308 [ 18085 ] {34865396-9d33-42e8-bdc6-67afec73e71f} executeQuery: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '(SELECT notLike('\0')) AS ioxgpanj' instead. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom(( SELECT notLike('\0') ) AS ioxgpanj);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.472371 [ 18085 ] {34865396-9d33-42e8-bdc6-67afec73e71f} TCPHandler: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '(SELECT notLike('\0')) AS ioxgpanj' instead. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.591200 [ 18085 ] {6a5c9ecb-4f08-4d32-89e0-e1287f23c486} executeQuery: Code: 42. DB::Exception: Number of arguments for function format doesn't match: passed 0, should be at least 2: While processing toIntervalMillisecond('h^FbO^*', format()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIntervalMillisecond('h^FbO^*', format());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/formatString.cpp:49: DB::(anonymous namespace)::FormatFunction::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c9a71a6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:33.593211 [ 18085 ] {6a5c9ecb-4f08-4d32-89e0-e1287f23c486} TCPHandler: Code: 42. DB::Exception: Number of arguments for function format doesn't match: passed 0, should be at least 2: While processing toIntervalMillisecond('h^FbO^*', format()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/formatString.cpp:49: DB::(anonymous namespace)::FormatFunction::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1c9a71a6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:33.704573 [ 18085 ] {3580ca4c-8411-4c4a-9760-f2fe4cf55fc5} executeQuery: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d4c1da in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.706454 [ 18085 ] {3580ca4c-8411-4c4a-9760-f2fe4cf55fc5} TCPHandler: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d4c1da in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.832093 [ 18085 ] {477984ee-28e3-4ef0-8b3c-9c83dfa20084} executeQuery: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f5b0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.834196 [ 18085 ] {477984ee-28e3-4ef0-8b3c-9c83dfa20084} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f5b0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.865420 [ 18085 ] {3b6b3913-3d0a-4d19-9256-10f8fed6ffd3} executeQuery: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(-77446580.98). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reverseDNSQuery(-77446580.980);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20da81f4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:33.867585 [ 18085 ] {3b6b3913-3d0a-4d19-9256-10f8fed6ffd3} TCPHandler: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(-77446580.98). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20da81f4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:33.874306 [ 18085 ] {36be4a9f-58d5-45a6-a975-d7ea9c723d6f} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.876478 [ 18085 ] {36be4a9f-58d5-45a6-a975-d7ea9c723d6f} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:33.998369 [ 18085 ] {7ade4ff7-0573-4a34-9f50-797044757ca6} executeQuery: Code: 42. DB::Exception: Function mapApply needs at least 2 arguments, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x1ebe4524 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:174: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1ebe9990 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:34.000671 [ 18085 ] {7ade4ff7-0573-4a34-9f50-797044757ca6} TCPHandler: Code: 42. DB::Exception: Function mapApply needs at least 2 arguments, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, char const*&&, unsigned long&&) @ 0x1ebe4524 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionArrayMapped.h:174: DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x1ebe9990 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:34.168861 [ 18085 ] {35c07dec-0118-43e9-90ac-846d24dfe30e} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing subtractYears(decodeURLComponent('][W', CAST([], 'Date')), -3.009366). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractYears(decodeURLComponent('][W', (CAST(([]) AS Date))), -3.009366);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad18a6 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:34.171312 [ 18085 ] {35c07dec-0118-43e9-90ac-846d24dfe30e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing subtractYears(decodeURLComponent('][W', CAST([], 'Date')), -3.009366). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad18a6 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:34.339563 [ 18085 ] {d07f1b77-73f6-4158-8768-49cef3388cc6} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toDate provided 0, expected 1 to 2 ('Value' : , ['timezone' : const String]): While processing toDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19aeb39d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19aeb0a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19aeb05d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19aeb01d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19aeafdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19aeafa5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19aeaddb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19ad111a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:45:34.341819 [ 18085 ] {d07f1b77-73f6-4158-8768-49cef3388cc6} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toDate provided 0, expected 1 to 2 ('Value' : , ['timezone' : const String]): While processing toDate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1770: DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x19aeb39d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1732: auto DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x19aeb0a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x19aeb05d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x19aeb01d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x19aeafdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x19aeafa5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x1980bc9e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x1980a95d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1727: DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x19aeaddb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1733: DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x19ad111a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:45:34.480414 [ 18085 ] {12b82c37-a1a8-4987-9704-a00ea31a2773} executeQuery: Code: 42. DB::Exception: Number of arguments for function toISOYear doesn't match: passed 0, should be 1 or 2: While processing toISOYear(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toISOYear();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f13e11 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToISOYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f123df in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:34.482337 [ 18085 ] {12b82c37-a1a8-4987-9704-a00ea31a2773} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toISOYear doesn't match: passed 0, should be 1 or 2: While processing toISOYear(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f13e11 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToISOYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f123df in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:34.488891 [ 18085 ] {9e0ce2cf-c3bf-4ef2-b65a-fe5c492950b3} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:34.490509 [ 18085 ] {9e0ce2cf-c3bf-4ef2-b65a-fe5c492950b3} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d82628 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:34.604937 [ 18085 ] {7e7e81c1-7f7f-4ec6-ac3c-a1b1c6c28c5d} executeQuery: Code: 42. DB::Exception: Number of arguments for function toStartOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing toStartOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toStartOfWeek();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x20efebe0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToDateOrDate32.h:33: DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x20efbfc6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:34.606894 [ 18085 ] {7e7e81c1-7f7f-4ec6-ac3c-a1b1c6c28c5d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toStartOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing toStartOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x197d994c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x20efebe0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToDateOrDate32.h:33: DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x20efbfc6 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:34.617133 [ 18085 ] {0819e939-814f-4901-b57a-f33fda984c3f} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing bitmapSubsetInRange('+9Ea', CAST(NULL, 'DateTime')). (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapSubsetInRange('+9Ea', (CAST((NULL) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:34.618986 [ 18085 ] {0819e939-814f-4901-b57a-f33fda984c3f} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing bitmapSubsetInRange('+9Ea', CAST(NULL, 'DateTime')). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:34.744906 [ 18085 ] {4545ecd1-58cd-4b38-b6ac-4ca10586bcef} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime32: While processing toDateTime32([[]]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDateTime32([[]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a031006 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0300fe in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:45:34.747496 [ 18085 ] {4545ecd1-58cd-4b38-b6ac-4ca10586bcef} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime32: While processing toDateTime32([[]]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a031006 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a0300fe in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:45:34.862252 [ 18085 ] {f934a7c8-8386-4c51-b142-cd33e3a30573} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageMixed(). (SUPPORT_IS_DISABLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT detectLanguageMixed();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsLanguageClassification.cpp:119: DB::FunctionDetectLanguageMixed::create(std::shared_ptr) @ 0x1a648499 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x1a64832a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c496 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c43d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x1974c3fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1974c3a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x2913305e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x2912e4e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x2912d183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cd3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:34.864499 [ 18085 ] {f934a7c8-8386-4c51-b142-cd33e3a30573} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing detectLanguageMixed(). (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsLanguageClassification.cpp:119: DB::FunctionDetectLanguageMixed::create(std::shared_ptr) @ 0x1a648499 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:81: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x1a64832a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c496 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x1974c43d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x1974c3fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x1974c3a5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x2913305e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x2912e4e1 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x2912d183 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x2912cd3d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x2912d6ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1101: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fde64 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:35.065826 [ 18085 ] {26a3dc62-697d-4386-9695-6fdd32cc8d7b} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing CAST([], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3((CAST(([]) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10386 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:35.068437 [ 18085 ] {26a3dc62-697d-4386-9695-6fdd32cc8d7b} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing CAST([], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b10386 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19b0f47e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:35.077452 [ 18085 ] {42b64cbc-ac72-4010-a28a-97eed9bb5147} executeQuery: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '[CAST('\0', 'Date')]' instead. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom([(CAST(('\0') AS Date))], [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.079242 [ 18085 ] {42b64cbc-ac72-4010-a28a-97eed9bb5147} TCPHandler: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '[CAST('\0', 'Date')]' instead. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.098292 [ 18085 ] {9ea0e49a-4eb0-431e-a5fb-5f28e528cb2f} executeQuery: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.099969 [ 18085 ] {9ea0e49a-4eb0-431e-a5fb-5f28e528cb2f} TCPHandler: Code: 42. DB::Exception: Table function 'hdfs' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:52: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d47f7a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.220713 [ 18085 ] {cbdab955-36c5-45d4-8c3b-0c17bdc83d07} executeQuery: Code: 42. DB::Exception: Number of arguments for function hop doesn't match: passed 0, should be 3 or 4: While processing hop(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hop();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&&) @ 0x1a8b8a8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:312: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)3>::getReturnType(std::vector> const&, String const&) @ 0x1a8bc288 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)3>::getReturnTypeImpl(std::vector> const&) const @ 0x1a8b9c39 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:35.222619 [ 18085 ] {cbdab955-36c5-45d4-8c3b-0c17bdc83d07} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hop doesn't match: passed 0, should be 3 or 4: While processing hop(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&&) @ 0x1a8b8a8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:312: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)3>::getReturnType(std::vector> const&, String const&) @ 0x1a8bc288 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)3>::getReturnTypeImpl(std::vector> const&) const @ 0x1a8b9c39 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:35.346947 [ 18085 ] {853d9b3a-94b3-4093-9711-74c37f1d953a} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function bitNot: While processing toDayOfMonth(bitNot('\0')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT DAYOFMONTH(bitNot('\0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnaryArithmetic.h:264: DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1b29d4bf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionUnaryArithmetic.h:216: DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1b29751a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:35.348954 [ 18085 ] {853d9b3a-94b3-4093-9711-74c37f1d953a} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function bitNot: While processing toDayOfMonth(bitNot('\0')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnaryArithmetic.h:264: DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x1b29d4bf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionUnaryArithmetic.h:216: DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1b29751a in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 01:45:35.355911 [ 18085 ] {e16ae848-572b-4702-80ef-9f159aa9d438} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9855e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.357737 [ 18085 ] {e16ae848-572b-4702-80ef-9f159aa9d438} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:34: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d9855e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.365162 [ 18085 ] {d8100f03-dc86-40db-8a25-554ac4ebab9a} executeQuery: Code: 42. DB::Exception: Number of arguments for function notILike doesn't match: passed 0, should be 2: While processing notILike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT notILike();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:35.367028 [ 18085 ] {d8100f03-dc86-40db-8a25-554ac4ebab9a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notILike doesn't match: passed 0, should be 2: While processing notILike(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:35.375225 [ 18085 ] {a629a89c-1d4e-4b19-a6eb-c608bfdcbcbd} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge((CAST((-34865) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.376897 [ 18085 ] {a629a89c-1d4e-4b19-a6eb-c608bfdcbcbd} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.524864 [ 18085 ] {4ec25ca9-810d-4fc9-b172-6ae231e5440d} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing [], CAST(NULL, 'String'), '\0'. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], (CAST((NULL) AS String)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:45:35.527090 [ 18085 ] {4ec25ca9-810d-4fc9-b172-6ae231e5440d} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing [], CAST(NULL, 'String'), '\0'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:45:35.535426 [ 18085 ] {c108b70c-34be-436d-8c4f-175bc474bc76} executeQuery: Code: 42. DB::Exception: Number of arguments for function min2 doesn't match: passed 0, should be 2: While processing min2(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT min2();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:35.537412 [ 18085 ] {c108b70c-34be-436d-8c4f-175bc474bc76} TCPHandler: Code: 42. DB::Exception: Number of arguments for function min2 doesn't match: passed 0, should be 2: While processing min2(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:35.670132 [ 18085 ] {7e7d9ee3-d370-428b-af03-e449fbb1cfc1} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffortOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTime64BestEffortOrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18926d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:35.672588 [ 18085 ] {7e7d9ee3-d370-428b-af03-e449fbb1cfc1} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffortOrNull provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffortOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x29135fbd in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x29133f45 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18926d in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:35.795625 [ 18085 ] {d1bfc6e9-96af-4914-8a69-76621f927eea} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt(['WX_CU)T'], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3b799 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.797646 [ 18085 ] {d1bfc6e9-96af-4914-8a69-76621f927eea} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3b799 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:35.911033 [ 18085 ] {15e314bb-9804-46de-ad9e-52edfdab278e} executeQuery: Code: 42. DB::Exception: Aggregate function quantileTiming requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantileTiming();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantileTiming, false, float, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x233c11cd in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x233c07c4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:45:35.913387 [ 18085 ] {15e314bb-9804-46de-ad9e-52edfdab278e} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileTiming requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x225d9381 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:215: DB::AggregateFunctionQuantile, DB::NameQuantileTiming, false, float, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x233c11cd in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTiming.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x233c07c4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:45:36.041552 [ 18085 ] {29258cc7-c809-43eb-a203-243d1eaf4cec} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffortUS, expected String or FixedString, got Int8: While processing parseDateTime64BestEffortUS(-9, []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTime64BestEffortUS(-9, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18d72d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:36.043825 [ 18085 ] {29258cc7-c809-43eb-a203-243d1eaf4cec} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffortUS, expected String or FixedString, got Int8: While processing parseDateTime64BestEffortUS(-9, []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x2913675a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x29134a5e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x291341e0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2065: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x1a18d72d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 2024.03.06 01:45:36.159766 [ 18085 ] {d9bc3af2-86e5-4b78-b520-29433c7d5063} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toInt64: While processing toInt64([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt64([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19991086 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1999019e in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:45:36.161905 [ 18085 ] {d9bc3af2-86e5-4b78-b520-29433c7d5063} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toInt64: While processing toInt64([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19991086 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1999019e in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 2024.03.06 01:45:36.305142 [ 18085 ] {0660bf71-33a8-47cb-84a4-bd98c58c7cd7} executeQuery: Code: 184. DB::Exception: Aggregate function first_value(NULL) is found in wrong place in query: While processing first_value(NULL). (ILLEGAL_AGGREGATION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch(first_value(NULL), ( SELECT * FROM zeros_mt() ) , ( SELECT QUARTER() ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1362: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc15e in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 17. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:157: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f9448b in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d591e6 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:45:36.307223 [ 18085 ] {0660bf71-33a8-47cb-84a4-bd98c58c7cd7} TCPHandler: Code: 184. DB::Exception: Aggregate function first_value(NULL) is found in wrong place in query: While processing first_value(NULL). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:69: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eaeb1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:61: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x2a0eadc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0eabc0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0ec7c1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0eab4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d2a85 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:114: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x2b2c70c7 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1362: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc15e in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:73: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3be8ae in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 17. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:157: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x28f9448b in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:31: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d591e6 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 01:45:36.453353 [ 18085 ] {4ae7ae1d-b349-4da8-be66-04a725878f02} executeQuery: Code: 43. DB::Exception: Illegal types String and UInt16 of arguments for aggregate function covarSampStable: While processing (SELECT 'i+HNRLb}', 8034, toUInt32OrDefault([], covarSampStable('\0', 323)), '\0', NULL) AS xajtbp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [''], ['\0'], ( SELECT 'i+HNRLb}', 8034, toUInt32OrDefault([], covarSampStable('\0', 323)), '\0', NULL ) AS xajtbp, 'Ejh\'N`[W', NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:44: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23f65104 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 2024.03.06 01:45:36.455675 [ 18085 ] {4ae7ae1d-b349-4da8-be66-04a725878f02} TCPHandler: Code: 43. DB::Exception: Illegal types String and UInt16 of arguments for aggregate function covarSampStable: While processing (SELECT 'i+HNRLb}', 8034, toUInt32OrDefault([], covarSampStable('\0', 323)), '\0', NULL) AS xajtbp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x22649988 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:44: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x23f65104 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x29139b39 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 2024.03.06 01:45:36.581466 [ 18085 ] {6e161f41-7861-45fd-aa53-c56430d58ed8} executeQuery: Code: 43. DB::Exception: Second argument for function subtractMicroseconds (delta) must be a number: While processing subtractMicroseconds([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractMicroseconds([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8e6ecc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:36.583446 [ 18085 ] {6e161f41-7861-45fd-aa53-c56430d58ed8} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractMicroseconds (delta) must be a number: While processing subtractMicroseconds([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x1a8e6ecc in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:36.724954 [ 18085 ] {6df808b1-78ea-4264-aec6-c2efe827ac29} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0: While processing (SELECT * FROM postgresql()) AS wyinrmie. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', '', (SELECT []) AS frw, (SELECT * FROM postgresql()) AS wyinrmie, [1041969.5991], NULL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 2024.03.06 01:45:36.727251 [ 18085 ] {6df808b1-78ea-4264-aec6-c2efe827ac29} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0: While processing (SELECT * FROM postgresql()) AS wyinrmie. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 2024.03.06 01:45:36.873919 [ 18085 ] {177fc70b-c208-49d2-ad41-5c268affa82d} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 0, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values(cutToFirstSignificantSubdomainCustomWithWWWRFC());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bea0b in /usr/bin/clickhouse 22. /build/src/TableFunctions/TableFunctionValues.cpp:73: DB::TableFunctionValues::getTypesFromArgument(std::shared_ptr const&, std::shared_ptr) @ 0x28d4bd7d in /usr/bin/clickhouse 23. /build/src/TableFunctions/TableFunctionValues.cpp:103: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d4c3fe in /usr/bin/clickhouse 24. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 25. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 26. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:36.876654 [ 18085 ] {177fc70b-c208-49d2-ad41-5c268affa82d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutToFirstSignificantSubdomainCustomWithWWWRFC doesn't match: passed 0, should be 2: While processing cutToFirstSignificantSubdomainCustomWithWWWRFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bea0b in /usr/bin/clickhouse 22. /build/src/TableFunctions/TableFunctionValues.cpp:73: DB::TableFunctionValues::getTypesFromArgument(std::shared_ptr const&, std::shared_ptr) @ 0x28d4bd7d in /usr/bin/clickhouse 23. /build/src/TableFunctions/TableFunctionValues.cpp:103: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d4c3fe in /usr/bin/clickhouse 24. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 25. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 26. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:37.106191 [ 18085 ] {10f95f7a-0594-441b-bddd-31b94531a316} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Bad URI syntax: URI contains invalid characters (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -6831870, ( SELECT * FROM deltaLake('\0') ) AS uwpdxc, (CAST((['']) AS String)), 'MV;oo', medianExactLow();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x31e76627 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x31e76d67 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x31e7aea7 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:724: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x31f0b542 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x31f0acc2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:727: Poco::URI::parse(String const&) @ 0x31f06c05 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&) @ 0x31f06b65 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:39: DB::S3::URI::URI(String const&) @ 0x28d6861b in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c67d in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 2024.03.06 01:45:37.109764 [ 18085 ] {10f95f7a-0594-441b-bddd-31b94531a316} TCPHandler: Code: 1000. DB::Exception: Bad URI syntax: URI contains invalid characters. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:158: Poco::DataException::DataException(String const&, int) @ 0x31e76627 in /usr/bin/clickhouse 5. /build/base/poco/Foundation/src/Exception.cpp:161: Poco::SyntaxException::SyntaxException(String const&, int) @ 0x31e76d67 in /usr/bin/clickhouse 6. /build/base/poco/Foundation/src/Exception.cpp:179: Poco::URISyntaxException::URISyntaxException(String const&, int) @ 0x31e7aea7 in /usr/bin/clickhouse 7. /build/base/poco/Foundation/src/URI.cpp:724: Poco::URI::parse(String const&)::$_0::operator()(char) const @ 0x31f0b542 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/for_each.h:25: Poco::URI::parse(String const&)::$_0 std::for_each[abi:v15000], Poco::URI::parse(String const&)::$_0>(std::__wrap_iter, std::__wrap_iter, Poco::URI::parse(String const&)::$_0) @ 0x31f0acc2 in /usr/bin/clickhouse 9. /build/base/poco/Foundation/src/URI.cpp:727: Poco::URI::parse(String const&) @ 0x31f06c05 in /usr/bin/clickhouse 10. /build/base/poco/Foundation/src/URI.cpp:42: Poco::URI::URI(String const&) @ 0x31f06b65 in /usr/bin/clickhouse 11. /build/src/IO/S3/URI.cpp:39: DB::S3::URI::URI(String const&) @ 0x28d6861b in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionS3.cpp:133: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5c67d in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 24. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 2024.03.06 01:45:37.154660 [ 18085 ] {b82f06bd-9112-49d2-9e94-cfff63fd4427} executeQuery: Code: 42. DB::Exception: Number of arguments for function URLHierarchy doesn't match: passed 0, should be 1: While processing URLHierarchy(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT URLHierarchy();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:37.158731 [ 18085 ] {b82f06bd-9112-49d2-9e94-cfff63fd4427} TCPHandler: Code: 42. DB::Exception: Number of arguments for function URLHierarchy doesn't match: passed 0, should be 1: While processing URLHierarchy(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:37.319383 [ 18085 ] {f22ca804-09a7-4335-891b-3f920d7b846d} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt256 doesn't match: passed 0, should be 1: While processing reinterpretAsInt256(): While processing (SELECT reinterpretAsInt256()) AS _subquery635. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sumCount(base64Decode([[]], '$[0p|^('), '\0'), ( SELECT reinterpretAsInt256() ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 2024.03.06 01:45:37.321541 [ 18085 ] {f22ca804-09a7-4335-891b-3f920d7b846d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt256 doesn't match: passed 0, should be 1: While processing reinterpretAsInt256(): While processing (SELECT reinterpretAsInt256()) AS _subquery635. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 2024.03.06 01:45:37.448764 [ 18085 ] {92c754de-6fde-4ab3-b8e2-1f6a5ecb8971} executeQuery: Code: 43. DB::Exception: First argument of function wordShingleSimHash must be String, got Array(Nothing): While processing wordShingleSimHash([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleSimHash([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameWordShingleSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a8584b3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:37.451990 [ 18085 ] {92c754de-6fde-4ab3-b8e2-1f6a5ecb8971} TCPHandler: Code: 43. DB::Exception: First argument of function wordShingleSimHash must be String, got Array(Nothing): While processing wordShingleSimHash([], '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameWordShingleSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x1a8584b3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 2024.03.06 01:45:37.463242 [ 18085 ] {28e732bb-5e1e-452e-b7c4-87e6e84ebb27} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'), ascii(). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date)), ascii();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad18a6 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:37.466247 [ 18085 ] {28e732bb-5e1e-452e-b7c4-87e6e84ebb27} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'), ascii(). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2012: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad18a6 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1841: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19ad099e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:136: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x1973eb12 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2828: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x19d31270 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31206 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d311a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x19d31140 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x19d310eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x197a3c47 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x197a04e0 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2715: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1979f98f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:57: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x197400d9 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:308: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d8d in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 2024.03.06 01:45:37.489630 [ 18085 ] {b625dafa-2c0b-4405-ab7d-652c0505b947} executeQuery: Code: 170. DB::Exception: Requested cluster '' not found. (BAD_GET) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster('\0', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:64: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f895 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.491302 [ 18085 ] {b625dafa-2c0b-4405-ab7d-652c0505b947} TCPHandler: Code: 170. DB::Exception: Requested cluster '' not found. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:64: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f895 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.519798 [ 18085 ] {17979f3f-91a7-4902-b3dd-08360bf5cc6c} executeQuery: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f5b0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.521612 [ 18085 ] {17979f3f-91a7-4902-b3dd-08360bf5cc6c} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfsCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionHDFSCluster.cpp:49: DB::TableFunctionHDFSCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d7f5b0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.528797 [ 18085 ] {5ad1b230-e0a2-47eb-a9aa-e076f0829067} executeQuery: Code: 42. DB::Exception: Number of arguments for function MACStringToOUI doesn't match: passed 2, should be 1: While processing MACStringToOUI(NULL, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT MACStringToOUI(NULL, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:37.530745 [ 18085 ] {5ad1b230-e0a2-47eb-a9aa-e076f0829067} TCPHandler: Code: 42. DB::Exception: Number of arguments for function MACStringToOUI doesn't match: passed 2, should be 1: While processing MACStringToOUI(NULL, []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:37.641408 [ 18085 ] {8d53429a-a3e6-4fba-8acb-8e6c51645f62} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d3e6c8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.643404 [ 18085 ] {8d53429a-a3e6-4fba-8acb-8e6c51645f62} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:60: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d3e6c8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.768873 [ 18085 ] {2ef026f9-f84d-43d4-ba3a-222dd97c6bff} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [toUUID([[]])], in([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29ea84ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea791c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea74fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea74bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea7898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea7462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2ae3302e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae145a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.770805 [ 18085 ] {2ef026f9-f84d-43d4-ba3a-222dd97c6bff} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x29ea84ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea791c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea74fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea74bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea7898 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x29ea7462 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x2ae3302e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:407: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae145a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.902386 [ 18085 ] {93276aa0-f7c8-4d9c-8e1e-8eea41ac2dba} executeQuery: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '[]' instead: While processing (SELECT * FROM generateRandom([], '}T{mjd')) AS vs: While processing rightPad((SELECT * FROM generateRandom([], '}T{mjd')) AS vs, (SELECT dictGetInt16('`o*sr\'zO')) AS _subquery636, (SELECT enabledProfiles()) AS _subquery637, (SELECT L2Distance(-4377796)) AS sxknti). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT rightPad(( SELECT * FROM generateRandom([], '}T{mjd') ) AS vs, ( SELECT dictGetInt16('`o*sr\'zO') ) , ( SELECT enabledProfiles() ) , ( SELECT distanceL2(-4377796) ) AS sxknti);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:37.904740 [ 18085 ] {93276aa0-f7c8-4d9c-8e1e-8eea41ac2dba} TCPHandler: Code: 36. DB::Exception: All arguments of table function 'generateRandom' must be literals. Got '[]' instead: While processing (SELECT * FROM generateRandom([], '}T{mjd')) AS vs: While processing rightPad((SELECT * FROM generateRandom([], '}T{mjd')) AS vs, (SELECT dictGetInt16('`o*sr\'zO')) AS _subquery636, (SELECT enabledProfiles()) AS _subquery637, (SELECT L2Distance(-4377796)) AS sxknti). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:53: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d52831 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:37.921879 [ 18085 ] {2cd6c90a-00ed-459c-b59e-cc37878ca681} executeQuery: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2526f in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.923521 [ 18085 ] {2cd6c90a-00ed-459c-b59e-cc37878ca681} TCPHandler: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2526f in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.929736 [ 18085 ] {fd0c2b31-1a69-499a-bb4b-6bc3d557afed} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive(['\0'], []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28da4177 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.931421 [ 18085 ] {fd0c2b31-1a69-499a-bb4b-6bc3d557afed} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28da4177 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.984182 [ 18085 ] {78ce2592-1bd7-4fde-bb78-abbbf1f7fa85} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql(NULL)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:37.986726 [ 18085 ] {78ce2592-1bd7-4fde-bb78-abbbf1f7fa85} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:432: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x2ba3dea0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:63: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d92d36 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.116471 [ 18085 ] {9f21239b-d496-4494-9d95-56b297d1d833} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTDigestWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantilesTDigestWeighted(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x226497c1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantilesTDigestWeighted, true, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x234bbdb0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2349aa44 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:45:38.118892 [ 18085 ] {9f21239b-d496-4494-9d95-56b297d1d833} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTDigestWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x226497c1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:206: DB::AggregateFunctionQuantile, DB::NameQuantilesTDigestWeighted, true, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x234bbdb0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTDigestWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2349aa44 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f0f8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f095 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x2262f035 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x2262efbd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x2913f2d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x2913beb5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x2913a92c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x2913996a in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:664: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x2a0bbe95 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:261: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x2a0b9c10 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:190: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x2a0b9139 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:317: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x2ae328d3 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x2ae3a040 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:656: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1a72e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 01:45:38.144410 [ 18085 ] {9d0aa689-8897-4999-bbbe-5c20114e9e63} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsFixedString doesn't match: passed 2, should be 1: While processing '', reinterpretAsFixedString('|n/(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:38.146454 [ 18085 ] {9d0aa689-8897-4999-bbbe-5c20114e9e63} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsFixedString doesn't match: passed 2, should be 1: While processing '', reinterpretAsFixedString('|n/(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:38.256037 [ 18085 ] {198752c9-f32e-4954-8646-1934b60d1f97} executeQuery: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetOrNull(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetOrNull('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9c71 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:820: DB::FunctionDictGetOrNull::getReturnTypeImpl(std::vector> const&) const @ 0x1a1c7208 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:38.258040 [ 18085 ] {198752c9-f32e-4954-8646-1934b60d1f97} TCPHandler: Code: 42. DB::Exception: Wrong argument count for function dictGet: While processing dictGetOrNull(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:336: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9c71 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:820: DB::FunctionDictGetOrNull::getReturnTypeImpl(std::vector> const&) const @ 0x1a1c7208 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 2024.03.06 01:45:38.264669 [ 18085 ] {004e1d3a-2653-4163-8fa5-f78bf3a5add3} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 0, should be 2: While processing h3Line(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3Line();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:38.266977 [ 18085 ] {004e1d3a-2653-4163-8fa5-f78bf3a5add3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3Line doesn't match: passed 0, should be 2: While processing h3Line(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 2024.03.06 01:45:38.447150 [ 18085 ] {af498b80-c0a0-4c4d-bd60-61670c277062} executeQuery: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:385: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x2d4c7707 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:82: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x2b415de7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionNull.cpp:46: DB::TableFunctionNull::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2983a in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.449026 [ 18085 ] {af498b80-c0a0-4c4d-bd60-61670c277062} TCPHandler: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (''): . Unrecognized token: ''. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:362: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x2d4c75a1 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:374: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x2d4c7686 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:385: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x2d4c7707 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:82: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x2b415de7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionNull.cpp:46: DB::TableFunctionNull::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d2983a in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.456739 [ 18085 ] {8b1a9be5-f909-495a-a1a4-79be77d4a823} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'String'), '\0'. (CANNOT_CONVERT_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((NULL) AS String)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:45:38.458508 [ 18085 ] {8b1a9be5-f909-495a-a1a4-79be77d4a823} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing CAST(NULL, 'String'), '\0'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3709: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x19d0d023 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2784: DB::FunctionCast::prepare(std::vector> const&) const @ 0x19d0cadc in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdd49 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 2024.03.06 01:45:38.474264 [ 18085 ] {2c3a0f10-3c5a-49f8-b1bf-8efec418e266} executeQuery: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.475851 [ 18085 ] {2c3a0f10-3c5a-49f8-b1bf-8efec418e266} TCPHandler: Code: 42. DB::Exception: The signature of table function 'oss' could be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:44: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b5f5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:170: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d5d250 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.602883 [ 18085 ] {f37d69c4-ec72-4e50-87d1-f3549b9fae41} executeQuery: Code: 42. DB::Exception: Number of arguments for function abs doesn't match: passed 2, should be 1: While processing abs('\0', ['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake('\0', abs('\0', ['']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bea0b in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:46: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b689 in /usr/bin/clickhouse 26. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:38.604833 [ 18085 ] {f37d69c4-ec72-4e50-87d1-f3549b9fae41} TCPHandler: Code: 42. DB::Exception: Number of arguments for function abs doesn't match: passed 2, should be 1: While processing abs('\0', ['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x26cfc028 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:390: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x29126e2f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:456: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x29127316 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1796: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x2a0c936d in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:80: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bea0b in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:120: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf11d in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:128: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x2b3bf232 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1106: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x2bc422df in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:46: DB::TableFunctionS3::parseArgumentsImpl(String const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr, DB::StorageS3::Configuration&, bool) @ 0x28d5b689 in /usr/bin/clickhouse 26. /build/src/TableFunctions/ITableFunctionDataLake.h:74: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d766ed in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 01:45:38.717764 [ 18085 ] {e4df879e-31ac-4a5e-b107-ac75c5a318aa} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros(( SELECT * FROM clusterAllReplicas('%*$30') ) AS pxftgw, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3db19 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.719727 [ 18085 ] {e4df879e-31ac-4a5e-b107-ac75c5a318aa} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription) const @ 0x28d3db19 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x29144a44 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1460: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efdea3 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.862941 [ 18085 ] {3d6c3748-1d3a-418c-9d58-b1c25253fc3c} executeQuery: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]: While processing (SELECT * FROM cluster()) AS y: While processing groupBitXor((SELECT * FROM cluster()) AS y, NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT BIT_XOR(( SELECT * FROM cluster() ) AS y, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:38.865398 [ 18085 ] {3d6c3748-1d3a-418c-9d58-b1c25253fc3c} TCPHandler: Code: 42. DB::Exception: Table function 'cluster' requires from 2 to 4 parameters: , , [, sharding_key]: While processing (SELECT * FROM cluster()) AS y: While processing groupBitXor((SELECT * FROM cluster()) AS y, NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:36: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x28d1c309 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:113: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d17ddd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x2b361594 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:104: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b3606fc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:165: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35e5dd in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:318: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b36033d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcf7 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 2024.03.06 01:45:38.872500 [ 18085 ] {f5556333-48bb-4e9c-86e2-ba92a9aff3c3} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50914) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge('!k');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:38.874514 [ 18085 ] {f5556333-48bb-4e9c-86e2-ba92a9aff3c3} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [106]) @ 0x28d1049e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x28d0e978 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x2914c543 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1392: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x29efd21f in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x2af53416 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:44.376000 [ 18081 ] {22add116-73f3-4de1-b3e3-31ebccc5117e} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:43964) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE d = today() WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2ce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:44.377821 [ 18081 ] {22add116-73f3-4de1-b3e3-31ebccc5117e} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2ce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:45.789235 [ 18081 ] {6e3f787b-0be6-4efe-bc3d-846b4cf75b49} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44022) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE key = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2ce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:45.790936 [ 18081 ] {6e3f787b-0be6-4efe-bc3d-846b4cf75b49} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:490: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2ce4 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:47.208176 [ 8842 ] {62756007-61cd-4866-a64f-cd5e8478d92b} executeQuery: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44056) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE materialized_value = 'aaa' WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:483: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2a16 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:47.210031 [ 8842 ] {62756007-61cd-4866-a64f-cd5e8478d92b} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:483: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2a16 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:48.771005 [ 18081 ] {0e21980b-f81d-4d01-bb08-3bd8d03f2e06} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44100) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE value1 = 'aaa' WHERE 'string'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d761916 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1730: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x2a0c8b74 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:988: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2afa45c7 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2afa250c in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:45:48.773053 [ 18081 ] {0e21980b-f81d-4d01-bb08-3bd8d03f2e06} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x1d761916 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:497: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x197421ac in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1226: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0ff45f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1730: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x2a0c8b74 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:988: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2afa45c7 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2afa250c in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 01:45:55.649058 [ 18086 ] {c654442d-393a-4377-a507-01741d5045f6} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:33614). (NETWORK_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:33614) (comment: 00613_shard_distributed_max_execution_time.sql) (in query: SELECT `number` FROM `system`.`numbers` WHERE `number` < 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2039: DB::TCPHandler::sendProgress() @ 0x2c83963d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:909: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c8394bb in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:55.728443 [ 8851 ] {a7f0ae78-d45d-4555-874a-bb52171674ad} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:45574). (NETWORK_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45574) (comment: 00613_shard_distributed_max_execution_time.sql) (in query: SELECT `number` FROM `system`.`numbers` WHERE `number` < 10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:67: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac21f24 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1955: DB::TCPHandler::sendData(DB::Block const&) @ 0x2c83b6d4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:905: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c83944a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:55.728604 [ 18086 ] {c654442d-393a-4377-a507-01741d5045f6} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:33614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c8428f5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c83989f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c831b68 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:45:55.729256 [ 18086 ] {c654442d-393a-4377-a507-01741d5045f6} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:33614). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2039: DB::TCPHandler::sendProgress() @ 0x2c83963d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:909: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c8394bb in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:55.729842 [ 18086 ] {c654442d-393a-4377-a507-01741d5045f6} TCPHandler: Client has gone away. 2024.03.06 01:45:55.730293 [ 8851 ] {a7f0ae78-d45d-4555-874a-bb52171674ad} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:45574). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c8428f5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c83989f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c831b68 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:45:55.730931 [ 8851 ] {a7f0ae78-d45d-4555-874a-bb52171674ad} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:45574). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:67: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac21f24 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1955: DB::TCPHandler::sendData(DB::Block const&) @ 0x2c83b6d4 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:905: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x2c83944a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:442: DB::TCPHandler::runImpl() @ 0x2c8305b1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:45:55.731467 [ 8851 ] {a7f0ae78-d45d-4555-874a-bb52171674ad} TCPHandler: Client has gone away. 2024.03.06 01:46:08.557568 [ 8842 ] {test_00601_test_vl1qa4d8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53030) (comment: 00601_kill_running_query.sh) (in query: SELECT sum(ignore(*)) FROM (SELECT number % 1000 AS k, groupArray(number) FROM numbers(50000000) GROUP BY k)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:08.567566 [ 8842 ] {test_00601_test_vl1qa4d8} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:46:13.028397 [ 18085 ] {a6a40ace-3953-4dfc-8abd-a9aa8e093011} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52390) (comment: 00578_merge_table_sampling.sql) (in query: SELECT * FROM merge(currentDatabase(), '^numbers\\d+$') SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:461: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ba0dab9 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:13.029615 [ 18085 ] {a6a40ace-3953-4dfc-8abd-a9aa8e093011} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [47]) @ 0x197c0b9e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:461: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x2ba0dab9 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x2cf5d30c in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:187: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x2cf826ff in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af0660b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:20.164519 [ 8851 ] {65d8a398-a059-4120-8ffe-3530f8077a5c} executeQuery: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32972) (comment: 00596_limit_on_expanded_ast.sh) (in query: select 1 as a, a+a as b, b+b as c, c+c as d, d+d as e, e+e as f, f+f as g, g+g as h, h+h as i, i+i as j, j+j as k, k+k as l, l+l as m, m+m as n, n+n as o, o+o as p, p+p as q, q+q as r, r+r as s, s+s as t, t+t as u, u+u as v, v+v as w, w+w as x, x+x as y, y+y as z ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x2d450cca in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x2d450c4c in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355592 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355abe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b3566fd in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b35690a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b35619a in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355b7a in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b2c7480 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b924d in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:46:20.167389 [ 8851 ] {65d8a398-a059-4120-8ffe-3530f8077a5c} TCPHandler: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x2d450cca in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x2d450c4c in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355592 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355abe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b3566fd in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x2b35690a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355e07 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x2b35619a in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x2b355b7a in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x2b2c7480 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1441: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b924d in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 2024.03.06 01:46:25.368991 [ 18086 ] {624da022-0893-42fc-9968-b8cb9d4c4082} executeQuery: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60832) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Array)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19bd433e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:65: DB::create(std::shared_ptr const&) @ 0x299b2ad3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:25.370944 [ 18086 ] {624da022-0893-42fc-9968-b8cb9d4c4082} TCPHandler: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [73]) @ 0x19bd433e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:65: DB::create(std::shared_ptr const&) @ 0x299b2ad3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:26.829717 [ 18081 ] {d6b8c960-b8a6-4168-ad14-b493d14e0013} executeQuery: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60872) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS AggregateFunction)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [134]) @ 0x299b0f9e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x299af0a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:26.831813 [ 18081 ] {d6b8c960-b8a6-4168-ad14-b493d14e0013} TCPHandler: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [134]) @ 0x299b0f9e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x299af0a0 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:28.464084 [ 3320 ] {d129b921-3ddc-4e88-9337-bdefa22d39d7} executeQuery: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60930) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Nullable)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x26a2c07e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x29a97333 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:28.466091 [ 3320 ] {d129b921-3ddc-4e88-9337-bdefa22d39d7} TCPHandler: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [71]) @ 0x26a2c07e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x29a97333 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:29.923418 [ 18081 ] {7e87fb53-e393-414a-bdf0-b1312ea59df9} executeQuery: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60968) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Tuple)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x197e7bde in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x29aa207b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:30.019761 [ 18080 ] {64600610-2072-4433-bb1e-1dd73fb388e0} executeQuery: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60982) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE materialized_key UPDATE value = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:498: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2f74 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:30.020209 [ 18081 ] {7e87fb53-e393-414a-bdf0-b1312ea59df9} TCPHandler: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [22]) @ 0x197e7bde in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x29aa207b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:30.021779 [ 18080 ] {64600610-2072-4433-bb1e-1dd73fb388e0} TCPHandler: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:498: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x2afa2f74 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:587: DB::MutationsInterpreter::prepare(bool) @ 0x2af9eb63 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:31.431848 [ 18085 ] {fa10d02f-00c9-4e33-87ef-c76e59644b80} executeQuery: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38756) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS FixedString)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x299d14d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:31.433922 [ 18085 ] {fa10d02f-00c9-4e33-87ef-c76e59644b80} TCPHandler: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [76]) @ 0x2224e81e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x299d14d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:32.887054 [ 18085 ] {8fc54346-dfca-4392-893c-8f7289c29d6e} executeQuery: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38798) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Enum)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:289: DB::create(std::shared_ptr const&) @ 0x299be078 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:32.888982 [ 18085 ] {8fc54346-dfca-4392-893c-8f7289c29d6e} TCPHandler: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [31]) @ 0x1bc25cfe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:289: DB::create(std::shared_ptr const&) @ 0x299be078 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b257d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x299b253d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x299b24fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x299b24a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x299ca07e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x299c9c9d in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x299c8a63 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x299c8167 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x299c7da8 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x299c5a7d in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x19d0c32f in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:437: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x291272a5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 2024.03.06 01:46:35.742228 [ 18081 ] {3012405e-272f-461f-8e88-4e050104d972} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38892) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(dummy)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a0c5648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:35.744619 [ 18081 ] {3012405e-272f-461f-8e88-4e050104d972} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a0c5648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:37.094080 [ 18081 ] {0d80e620-f058-449a-b663-368c58d305ca} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38944) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(1)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a0c5648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:37.096356 [ 18081 ] {0d80e620-f058-449a-b663-368c58d305ca} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1327: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x2a0c5648 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1952: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0ca856 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:38.524548 [ 18080 ] {4f2a4606-8561-46a2-a6c4-c2699104885c} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39002) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE 256), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:38.526701 [ 18080 ] {4f2a4606-8561-46a2-a6c4-c2699104885c} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:39.842139 [ 18081 ] {2af6a07e-70ab-4194-8709-591e02f90fc3} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39016) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE -1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:39.845681 [ 18081 ] {2af6a07e-70ab-4194-8709-591e02f90fc3} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:41.162694 [ 8851 ] {655b48e6-56b7-4231-b273-65ea3ff8b478} executeQuery: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45090) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE CAST(256 AS Nullable(UInt16))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:46:41.164384 [ 8851 ] {655b48e6-56b7-4231-b273-65ea3ff8b478} TCPHandler: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x2b8789a4 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1973: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cabc8 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:11.750033 [ 18086 ] {4856594b-1f8f-4a0e-922b-843083d772f4} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1110. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60562) (comment: 00205_scalar_subqueries.sql) (in query: -- SELECT (SELECT uniqState('')); SELECT ( SELECT throwIf(1 + dummy) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20ecaa23 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec9518 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:47:11.751340 [ 18086 ] {4856594b-1f8f-4a0e-922b-843083d772f4} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1110. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20ecaa23 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec9518 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 01:47:11.915955 [ 18086 ] {48ccc89c-f404-45a5-b4ad-0506db752cfb} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1112. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60562) (comment: 00205_scalar_subqueries.sql) (in query: -- But tuple and array can't be inside nullable SELECT (SELECT 1, 2 WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35edf0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:11.917500 [ 18086 ] {48ccc89c-f404-45a5-b4ad-0506db752cfb} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1112. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35edf0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:11.933400 [ 18086 ] {9cb60e50-7c32-41f0-beee-0e8a55644d76} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1113. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60562) (comment: 00205_scalar_subqueries.sql) (in query: SELECT (SELECT [1] WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35edf0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:11.935028 [ 18086 ] {9cb60e50-7c32-41f0-beee-0e8a55644d76} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1113. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35edf0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:12.121912 [ 18086 ] {b51954cc-c324-4240-8464-3823078bf527} executeQuery: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1116. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60562) (comment: 00205_scalar_subqueries.sql) (in query: -- Several rows SELECT (SELECT number FROM numbers(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35f142 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:12.123263 [ 18086 ] {b51954cc-c324-4240-8464-3823078bf527} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1116. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [43]) @ 0x197a3e1e in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35f142 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:67: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x2b35dcc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x2b2ca040 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca221 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x2b2ca2c6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x2b2ca22e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x2b2c9fca in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x2b2c9ea5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:459: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x2b2ba055 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7004 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:27.891263 [ 5997 ] {37818044-c5da-4a03-a810-5d8dfaa371fa} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60202) (comment: 00105_shard_collations.sql) (in query: --- Trash locales SELECT '' as x ORDER BY x COLLATE 'qq';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.892471 [ 5997 ] {37818044-c5da-4a03-a810-5d8dfaa371fa} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.901193 [ 5997 ] {357a92f3-63d6-4995-937a-bfc74d206ccc} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60202) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'qwe';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.902713 [ 5997 ] {357a92f3-63d6-4995-937a-bfc74d206ccc} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.910922 [ 5997 ] {1248c977-4e06-477b-a9f8-fdd90e4ff4cf} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60202) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'some_non_existing_locale';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.911972 [ 5997 ] {1248c977-4e06-477b-a9f8-fdd90e4ff4cf} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.919871 [ 5997 ] {427157f7-7e02-42cf-83f5-982739dc468a} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60202) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'ру';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:27.920931 [ 5997 ] {427157f7-7e02-42cf-83f5-982739dc468a} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x2b4ed527 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x2ac9f3e6 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x2ac9f1a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x2ac9eea7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x2ac9ed37 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x2ac9e886 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1092: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x2ae235bf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2838: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x2ae2a9a2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1786: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae21747 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:47:38.413432 [ 18089 ] {49733e19-68a2-4475-9323-ea98c13c35ba} executeQuery: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33110) (comment: 00732_quorum_insert_lost_part_and_alive_part_zookeeper_long.sql) (in query: INSERT INTO quorum2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf11 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()&&) @ 0x2c5d8b65 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&) @ 0x2c5b6b21 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1114: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6476 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:38.417242 [ 18089 ] {49733e19-68a2-4475-9323-ea98c13c35ba} TCPHandler: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ZooKeeperRetries.h:215: DB::ZooKeeperRetriesControl::throwIfError() const @ 0x2943cf11 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:197: DB::ZooKeeperRetriesControl::canTry() @ 0x2943ba24 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ZooKeeperRetries.h:49: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&, void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&)::'lambda'()&&) @ 0x2c5d8b65 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ZooKeeperRetries.h:45: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda1'()&&) @ 0x2c5b6b21 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1114: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6476 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 13. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 01:47:50.402357 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:47:50.402778 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:47:50.403135 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:47:50.403498 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:47:50.403839 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:47:50.404231 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:47:50.404589 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:47:50.404936 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:47:50.405240 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:47:50.405594 [ 18081 ] {67a8081d-2721-4636-b764-39778f05450b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:48:06.201330 [ 28612 ] {2b58380e-ba7e-4639-b3b5-b0a5c2ea2bbe} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58198) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1451: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c60423c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:48:06.203031 [ 28612 ] {2b58380e-ba7e-4639-b3b5-b0a5c2ea2bbe} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1451: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2c60423c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:48:07.646842 [ 28612 ] {e53c9917-7968-4a94-b471-1461d0e08802} executeQuery: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58216) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception_replicated PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4852: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x2bb131f9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:4879: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x2babb65f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:4975: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2babb27f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:48:07.648626 [ 28612 ] {e53c9917-7968-4a94-b471-1461d0e08802} TCPHandler: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4852: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x2bb131f9 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:4879: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_27::operator()(String const&) const @ 0x2babb65f in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:4975: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2babb27f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x2ae00265 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:48:33.482169 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:48:33.482699 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:48:33.483138 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:48:33.483518 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:48:33.483994 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:48:33.484471 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:48:33.485036 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:48:33.485472 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:48:33.486033 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:48:33.486476 [ 28612 ] {bd79c0d6-e82e-494a-a495-a8d4131f503d::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:49:16.473640 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:49:16.473991 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:49:16.474322 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:49:16.474645 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:49:16.474974 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:49:16.475321 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:49:16.475674 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:49:16.476041 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:49:16.476475 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:49:16.476883 [ 28612 ] {3393727b-0986-4642-a5f3-cde87ac47748::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:50:00.042156 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:50:00.042519 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:50:00.042861 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:50:00.043193 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:50:00.043512 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:50:00.043818 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:50:00.044148 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:50:00.044500 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:50:00.044809 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:50:00.045122 [ 28612 ] {d8ccf2f1-a514-4b01-906f-6917bd2bc2a6::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:50:42.983451 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:50:42.983865 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:50:42.984193 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:50:42.984610 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:50:42.984965 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:50:42.985311 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:50:42.985650 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:50:42.986009 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:50:42.986469 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:50:42.987013 [ 28612 ] {3d9bef66-2869-4688-8549-2e2c1e13fd90::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:51:25.930085 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:51:25.930436 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:51:25.930779 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:51:25.931164 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:51:25.931578 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:51:25.931946 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:51:25.932362 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:51:25.932859 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:51:25.933312 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:51:25.933720 [ 28612 ] {22bbd705-a3a3-4caa-9d6c-d4ac39d234db::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:52:09.154845 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:52:09.155199 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:52:09.155548 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:52:09.155909 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:52:09.156243 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:52:09.156628 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:52:09.156956 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:52:09.157289 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:52:09.157617 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:52:09.157948 [ 28612 ] {f970b301-aee5-4519-ac6f-58803c2e0a0b::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:52:52.292346 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:52:52.292812 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:52:52.293152 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:52:52.293493 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:52:52.293822 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:52:52.294174 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:52:52.294508 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:52:52.294842 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:52:52.295188 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:52:52.295632 [ 28612 ] {c3dfc687-9623-4827-85b2-020ae48df8ba::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:53:35.041700 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:53:35.042144 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:53:35.042622 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:53:35.043095 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:53:35.043512 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:53:35.043898 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:53:35.044357 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:53:35.044846 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:53:35.045238 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:53:35.045542 [ 28612 ] {c1cfb305-7646-48de-a0be-310de63c7011::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:54:18.107629 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:54:18.108047 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:54:18.108400 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:54:18.108716 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:54:18.109024 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:54:18.109337 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:54:18.109671 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:54:18.110005 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:54:18.110349 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:54:18.110692 [ 28612 ] {1bb3e1ba-dc61-4331-b99c-a15ebd7c4885::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:55:00.920759 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:55:00.921107 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:55:00.921497 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:55:00.921818 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:55:00.922147 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:55:00.922457 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:55:00.922803 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:55:00.923240 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:55:00.923683 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:55:00.924059 [ 28612 ] {dffca224-c123-4533-82f8-cf3c64ffbd64::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:55:44.280795 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 0).). 2024.03.06 01:55:44.281180 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 1).). 2024.03.06 01:55:44.281539 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 2).). 2024.03.06 01:55:44.281890 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 3).). 2024.03.06 01:55:44.282276 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 4).). 2024.03.06 01:55:44.282663 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 5).). 2024.03.06 01:55:44.283019 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 6).). 2024.03.06 01:55:44.283393 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 7).). 2024.03.06 01:55:44.283803 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 8).). 2024.03.06 01:55:44.284175 [ 28612 ] {41dbb46d-f76e-4b99-9789-4f4e7f942883::20240306_20240306_1_2_1} CollapsingSortedTransform: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 9).). 2024.03.06 01:56:15.536932 [ 918 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_qyi3lkg0.receiver_02572 doesn't exist: while pushing to view test_qyi3lkg0.push_to_logs_proxy_mv_02572 (73162015-cf01-4591-badc-054261d03f64). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x2bfcdf06 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x2bfcac07 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x2bfca5da in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x2bfc987e in /usr/bin/clickhouse 14. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 29. /build/src/Interpreters/SystemLog.cpp:439: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x2b1dee9e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:379: DB::SystemLog::savingThreadFunction() @ 0x2b1ddbc9 in /usr/bin/clickhouse 31. /build/src/Common/SystemLogBase.cpp:65: DB::ISystemLog::startup()::$_0::operator()() const @ 0x2234be79 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:56:16.747247 [ 918 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_qyi3lkg0.receiver_02572 doesn't exist: while pushing to view test_qyi3lkg0.push_to_logs_proxy_mv_02572 (73162015-cf01-4591-badc-054261d03f64). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x2bfcdf06 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x2bfcac07 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x2bfca5da in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x2bfc987e in /usr/bin/clickhouse 14. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 29. /build/src/Interpreters/SystemLog.cpp:439: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x2b1dee9e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:379: DB::SystemLog::savingThreadFunction() @ 0x2b1ddbc9 in /usr/bin/clickhouse 31. /build/src/Common/SystemLogBase.cpp:65: DB::ISystemLog::startup()::$_0::operator()() const @ 0x2234be79 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:56:36.643964 [ 8842 ] {ff359361-d1f9-4a84-8516-d6afc52a2014} executeQuery: Code: 60. DB::Exception: Table test_5497e4bz.table_merge_tree_02561 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35308) (comment: 02561_temporary_table_sessions.sh) (in query: SELECT * FROM table_merge_tree_02561), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 01:56:36.645567 [ 8842 ] {ff359361-d1f9-4a84-8516-d6afc52a2014} DynamicQueryHandler: Code: 60. DB::Exception: Table test_5497e4bz.table_merge_tree_02561 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 01:57:57.429835 [ 28612 ] {1aa3179b-9be3-40d0-8c29-5431c4be2164} InterpreterSelectQuery: Joins are not supported with parallel replicas. Query will be executed without using them. 2024.03.06 01:57:57.591015 [ 29652 ] {5950ddc3-511a-4154-8e63-f32bfa133d00} executeQuery: Code: 60. DB::Exception: Table default.`02535_custom_key` doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36866) (comment: 02535_max_parallel_replicas_custom_key.sh) (in query: SELECT count() FROM `test_hqnuocvq`.`02535_custom_key` AS `t1` ALL INNER JOIN (SELECT * FROM `02535_custom_key`) AS `02535_custom_key` USING (`y`)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/getTableExpressions.cpp:90: DB::getColumnsFromTableExpression(DB::ASTTableExpression const&, std::shared_ptr, DB::NamesAndTypesList&, DB::NamesAndTypesList&, DB::NamesAndTypesList&, bool) @ 0x2b40170f in /usr/bin/clickhouse 17. /build/src/Interpreters/getTableExpressions.cpp:135: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x2b4013c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x2af53a2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:57:57.593450 [ 29652 ] {5950ddc3-511a-4154-8e63-f32bfa133d00} TCPHandler: Code: 60. DB::Exception: Table default.`02535_custom_key` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/getTableExpressions.cpp:90: DB::getColumnsFromTableExpression(DB::ASTTableExpression const&, std::shared_ptr, DB::NamesAndTypesList&, DB::NamesAndTypesList&, DB::NamesAndTypesList&, bool) @ 0x2b40170f in /usr/bin/clickhouse 17. /build/src/Interpreters/getTableExpressions.cpp:135: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x2b4013c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x2af53a2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 01:57:57.725022 [ 28612 ] {1aa3179b-9be3-40d0-8c29-5431c4be2164} executeQuery: Code: 60. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Table default.`02535_custom_key` doesn't exist. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/getTableExpressions.cpp:90: DB::getColumnsFromTableExpression(DB::ASTTableExpression const&, std::shared_ptr, DB::NamesAndTypesList&, DB::NamesAndTypesList&, DB::NamesAndTypesList&, bool) @ 0x2b40170f in /usr/bin/clickhouse 17. /build/src/Interpreters/getTableExpressions.cpp:135: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x2b4013c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x2af53a2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse : While executing Remote. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:49358) (comment: 02535_max_parallel_replicas_custom_key.sh) (in query: SELECT count() FROM cluster(test_cluster_one_shard_three_replicas_localhost, currentDatabase(), 02535_custom_key) as t1 JOIN 02535_custom_key USING y), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c6bbd71 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c6f1bb0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1ae8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1aa8 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6f19de in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6f187d in /usr/bin/clickhouse 2024.03.06 01:57:57.729359 [ 28612 ] {1aa3179b-9be3-40d0-8c29-5431c4be2164} TCPHandler: Code: 60. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Table default.`02535_custom_key` doesn't exist. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af02f13 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:286: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x2af05731 in /usr/bin/clickhouse 16. /build/src/Interpreters/getTableExpressions.cpp:90: DB::getColumnsFromTableExpression(DB::ASTTableExpression const&, std::shared_ptr, DB::NamesAndTypesList&, DB::NamesAndTypesList&, DB::NamesAndTypesList&, bool) @ 0x2b40170f in /usr/bin/clickhouse 17. /build/src/Interpreters/getTableExpressions.cpp:135: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x2b4013c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x2af53a2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:439: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14c72 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse : While executing Remote. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c6bbd71 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.h:124: DB::PacketReceiver::Routine::operator()(boost::context::fiber&&) @ 0x2c6f1bb0 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1ae8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(DB::PacketReceiver::Routine&, boost::context::fiber&&) @ 0x2c6f1aa8 in /usr/bin/clickhouse 12. /build/contrib/boost/boost/context/fiber_fcontext.hpp:140: boost::context::detail::fiber_record::run(void*) @ 0x2c6f19de in /usr/bin/clickhouse 13. /build/contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry>(boost::context::detail::transfer_t) @ 0x2c6f187d in /usr/bin/clickhouse 2024.03.06 02:00:37.252772 [ 28612 ] {test_wbim2j9x-12754} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42050) (comment: 02503_insert_storage_snapshot.sh) (in query: INSERT INTO t_insert_storage_snapshot SELECT sleep(1) FROM numbers(1000) SETTINGS max_block_size = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x2c8b4e15 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b4df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b4dc0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:00:37.255392 [ 28612 ] {test_wbim2j9x-12754} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x2c8b4e35 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x2c8b4e15 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b4df5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b4dc0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 27. ? @ 0x7f624fd9f609 in ? 28. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:00:46.475343 [ 28612 ] {32e605cd-26da-4836-bae6-56f76b276d41} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52174) (comment: 02494_query_cache_exception_handling.sql) (in query: -- If an exception is thrown during query execution, no entry must be created in the query cache SELECT throwIf(1) SETTINGS use_query_cache = true;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20eca706 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec94bd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 02:00:46.476794 [ 28612 ] {32e605cd-26da-4836-bae6-56f76b276d41} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x20eca706 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x20ec94bd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe2d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:249: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c7a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:613: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x2a093c31 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:730: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x2a09304d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x2cce5bc4 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 2024.03.06 02:00:56.992358 [ 28612 ] {2c484576-1453-4e3f-ac9e-cce57dea8632} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33784) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:00:56.993176 [ 28612 ] {2c484576-1453-4e3f-ac9e-cce57dea8632} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:00:57.653061 [ 28612 ] {d53fb795-4500-4f0c-b681-9894ba2e78ed} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33794) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoUtils.cpp:61: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x2ca0854f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:44: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x2ca00c9e in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca073a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca07101 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06ded in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06c40 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06bc6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:332: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x2ca03be0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca03ad9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca03a15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca039b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca0395d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c867336 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c8656f5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:312: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c85cb57 in /usr/bin/clickhouse 21. /build/src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c85c479 in /usr/bin/clickhouse 22. /build/src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x29f0cbb2 in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:614: DB::StorageFileSource::generate() @ 0x2b97f4fd in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:00:57.654580 [ 28612 ] {d53fb795-4500-4f0c-b681-9894ba2e78ed} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoUtils.cpp:61: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x2ca0854f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:44: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::FormatSchemaInfo const&, DB::FormatSettings const&) @ 0x2ca00c9e in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000](DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca073a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca07101 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06ded in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06c40 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::FormatSchemaInfo&&, DB::FormatSettings const&) @ 0x2ca06bc6 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:332: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x2ca03be0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca03ad9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca03a15 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca039b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x2ca0395d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c867336 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x2c8656f5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:312: DB::FormatFactory::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c85cb57 in /usr/bin/clickhouse 21. /build/src/Formats/FormatFactory.cpp:280: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&) const @ 0x2c85c479 in /usr/bin/clickhouse 22. /build/src/Interpreters/Context.cpp:3287: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&) const @ 0x29f0cbb2 in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:614: DB::StorageFileSource::generate() @ 0x2b97f4fd in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:01:10.375623 [ 28612 ] {c0be8429-0655-4911-b762-df6a39fb5085} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54578) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:10.376768 [ 28612 ] {c0be8429-0655-4911-b762-df6a39fb5085} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:27.162798 [ 28612 ] {ea49e8a1-cb60-45c6-9291-4f64a2e54319} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47734) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb2384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x28d713d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:619: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19cea in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:27.163984 [ 28612 ] {ea49e8a1-cb60-45c6-9291-4f64a2e54319} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb2384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x28d713d6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:619: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19cea in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:27.361910 [ 28612 ] {d8d2e5d2-f65a-4c01-939b-73dbb3c301c6} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47734) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table = 'test' AND database = currentDatabase() FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb2384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbca8d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:471: DB::TablesBlockSource::generate() @ 0x28e308f6 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:01:27.365715 [ 28612 ] {d8d2e5d2-f65a-4c01-939b-73dbb3c301c6} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb2384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbca8d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:471: DB::TablesBlockSource::generate() @ 0x28e308f6 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2c8df055 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8df039 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x2c8def9d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x2c8deea2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2c8dee15 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x2c8dedf5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8dedd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8deda0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:01:27.482203 [ 28612 ] {1222a541-1df6-431e-ab18-dbb6db369a21} virtual void DB::StorageBuffer::flush(): Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [57]) @ 0x1c4e5dfe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb2384 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:869: DB::StorageBuffer::flushBuffer(DB::StorageBuffer::Buffer&, bool, bool) @ 0x2bcb8b41 in /usr/bin/clickhouse 8. /build/src/Storages/StorageBuffer.cpp:812: DB::StorageBuffer::flushAllBuffers(bool) @ 0x2bcb7cfe in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:735: DB::StorageBuffer::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x2bcb7c38 in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:694: DB::StorageBuffer::flush() @ 0x2bcb78b5 in /usr/bin/clickhouse 11. /build/src/Storages/IStorage.h:543: DB::IStorage::flushAndShutdown() @ 0x29c023bd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:241: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77dce in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 24. ? @ 0x7f624fd9f609 in ? 25. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:01:27.979492 [ 28612 ] {f03b74ad-405b-492f-8c43-123c5f2b2016} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f607f80e000, frame address: 0x7f607fc0dfb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47734) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 2024.03.06 02:01:27.980634 [ 28612 ] {f03b74ad-405b-492f-8c43-123c5f2b2016} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f607f80e000, frame address: 0x7f607fc0dfb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 2024.03.06 02:01:28.308984 [ 28612 ] {4110f004-68ac-4818-80ab-96f9a700af7f} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f607f80e000, frame address: 0x7f607fc0dfb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47734) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 2024.03.06 02:01:28.310065 [ 28612 ] {4110f004-68ac-4818-80ab-96f9a700af7f} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f607f80e000, frame address: 0x7f607fc0dfb0, stack size: 4194384, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d35 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x2bcb7d68 in /usr/bin/clickhouse 2024.03.06 02:01:28.681650 [ 28612 ] {ed9a9900-c8b4-447f-aa63-a812813ea54f} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5f6d13c000, frame address: 0x7f5f6d53bf90, stack size: 4194416, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47734) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table IN ('test1', 'test2') AND database = currentDatabase();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbca8d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 2024.03.06 02:01:28.685395 [ 28612 ] {ed9a9900-c8b4-447f-aa63-a812813ea54f} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5f6d13c000, frame address: 0x7f5f6d53bf90, stack size: 4194416, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:280: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0031bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:799: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007e36 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x2bcb233d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1044: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbca8d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1045: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x2bcbcac9 in /usr/bin/clickhouse 2024.03.06 02:01:30.665424 [ 28612 ] {1350f688-a8df-4436-9bb8-41feb546acd1} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 43.41 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:47740) (comment: 02385_profile_events_overflow.sql) (in query: SELECT count() FROM system.numbers SETTINGS max_rows_to_read = 1, read_overflow_mode = 'throw';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2998904a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:30.668595 [ 28612 ] {1350f688-a8df-4436-9bb8-41feb546acd1} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 43.41 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x299ac268 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abd8c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:97: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x2998904a in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:59: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d86fc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x2233b75d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>>(void*) @ 0x2233b242 in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:35.200459 [ 28612 ] {32e3ccbe-d571-4b21-abef-39175f7031d4} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53628) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:01:35.201413 [ 28612 ] {32e3ccbe-d571-4b21-abef-39175f7031d4} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:02:30.669833 [ 30996 ] {drop-wzokzrlzgz} executeQuery: Code: 473. DB::Exception: WRITE locking attempt on "test_naftdh1d_ordinary.data_02352" has timed out! (10000ms) Possible deadlock avoided. Client should retry. (DEADLOCK_AVOIDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35132) (comment: 02352_rwlock.sh) (in query: DROP TABLE test_naftdh1d_ordinary.data_02352 SYNC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, DB::StorageID&&, long long&&) @ 0x2b8e5e28 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.cpp:42: DB::IStorage::tryLockTimed(std::shared_ptr const&, DB::RWLockImpl::Type, String const&, std::chrono::duration> const&) const @ 0x2b8e2ecc in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:94: DB::IStorage::lockExclusively(String const&, std::chrono::duration> const&) @ 0x2b8e3672 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:245: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77eee in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:02:30.671630 [ 30996 ] {drop-wzokzrlzgz} TCPHandler: Code: 473. DB::Exception: WRITE locking attempt on "test_naftdh1d_ordinary.data_02352" has timed out! (10000ms) Possible deadlock avoided. Client should retry. (DEADLOCK_AVOIDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, DB::StorageID&&, long long&&) @ 0x2b8e5e28 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.cpp:42: DB::IStorage::tryLockTimed(std::shared_ptr const&, DB::RWLockImpl::Type, String const&, std::chrono::duration> const&) const @ 0x2b8e2ecc in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:94: DB::IStorage::lockExclusively(String const&, std::chrono::duration> const&) @ 0x2b8e3672 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:245: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77eee in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:02:43.782001 [ 28612 ] {8209c7bd-e9a8-4241-a9e0-3e331a6cd218} executeQuery: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query it's necessary to have grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41490) (comment: 02337_drop_filesystem_cache_access.sh) (in query: SYSTEM DROP FILESYSTEM CACHE;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29224dfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922356a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291eb6fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29f171b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29efa4fd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:361: DB::InterpreterSystemQuery::execute() @ 0x2af114fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:02:43.783215 [ 28612 ] {8209c7bd-e9a8-4241-a9e0-3e331a6cd218} TCPHandler: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query it's necessary to have grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:500: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x29224dfd in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:540: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x2922356a in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:605: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x291f05c2 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:678: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x291eb6fd in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1077: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x29f171b6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1080: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x29efa4fd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:361: DB::InterpreterSystemQuery::execute() @ 0x2af114fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:02:59.306489 [ 31172 ] {a6553aab-60b2-4d25-a15c-92013a84079e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32972) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306558 [ 31174 ] {e24e7d3a-6597-4d23-97b8-079b4270eb8e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 1728400 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32986) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306724 [ 31175 ] {b34d85c7-ca00-4de2-8e90-84c200f24b29} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.17 MiB (attempt to allocate chunk of 1726488 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32998) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306760 [ 28612 ] {deb54e60-7a33-4b3c-952f-ef80eadf6e83} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.66 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32964) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306650 [ 31173 ] {557b152c-51be-4ea0-9def-1e3c1bb95b97} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.99 MiB (attempt to allocate chunk of 1733096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:32980) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306788 [ 31176 ] {32b67b14-658c-4497-8b42-bbbb0ee4d29b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33002) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306911 [ 31190 ] {95ee6517-8274-4e39-afcb-3c74372c967f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.96 MiB (attempt to allocate chunk of 1726712 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33026) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.307059 [ 31192 ] {010207dd-d567-40c7-ad37-0f7624280c12} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.99 MiB (attempt to allocate chunk of 1730328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33036) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.307073 [ 31191 ] {8c2d1ae1-cd28-43c4-ab2e-e8ad043407ba} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.96 MiB (attempt to allocate chunk of 1729016 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33032) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.306971 [ 31189 ] {9f2cedc7-cafe-46e0-90dc-01b7d62e158a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.61 MiB (attempt to allocate chunk of 1729816 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33018) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.312692 [ 28612 ] {deb54e60-7a33-4b3c-952f-ef80eadf6e83} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.66 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.312772 [ 31172 ] {a6553aab-60b2-4d25-a15c-92013a84079e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.312987 [ 31174 ] {e24e7d3a-6597-4d23-97b8-079b4270eb8e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 1728400 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.313017 [ 31192 ] {010207dd-d567-40c7-ad37-0f7624280c12} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.99 MiB (attempt to allocate chunk of 1730328 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.313035 [ 31175 ] {b34d85c7-ca00-4de2-8e90-84c200f24b29} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.17 MiB (attempt to allocate chunk of 1726488 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.314059 [ 31191 ] {8c2d1ae1-cd28-43c4-ab2e-e8ad043407ba} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.96 MiB (attempt to allocate chunk of 1729016 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.314495 [ 31190 ] {95ee6517-8274-4e39-afcb-3c74372c967f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.96 MiB (attempt to allocate chunk of 1726712 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.315548 [ 31189 ] {9f2cedc7-cafe-46e0-90dc-01b7d62e158a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.61 MiB (attempt to allocate chunk of 1729816 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.316209 [ 31176 ] {32b67b14-658c-4497-8b42-bbbb0ee4d29b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:02:59.317002 [ 31173 ] {557b152c-51be-4ea0-9def-1e3c1bb95b97} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.99 MiB (attempt to allocate chunk of 1733096 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.646421 [ 28612 ] {03706f55-d3b7-4f41-a2a6-23595b3c51b0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 1726200 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33052) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.647962 [ 31173 ] {8cc8cd43-6e62-4ac6-a2e4-b0adfea99320} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.59 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33066) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.654554 [ 28612 ] {03706f55-d3b7-4f41-a2a6-23595b3c51b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 1726200 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.655410 [ 31173 ] {8cc8cd43-6e62-4ac6-a2e4-b0adfea99320} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.59 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.658137 [ 31172 ] {5956212e-241c-4f97-b006-6ce3380f7d0e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.59 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33064) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.666157 [ 31172 ] {5956212e-241c-4f97-b006-6ce3380f7d0e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.59 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.672135 [ 31176 ] {42a0b3c7-23ab-4c39-8ffe-70244c10a62b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.57 MiB (attempt to allocate chunk of 1728024 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33104) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.674998 [ 31174 ] {fadbc9f5-eb94-4ab8-9197-489054c88e61} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.21 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33082) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.677424 [ 31175 ] {58003dfc-6b57-409d-ab21-f6ad00cfcd67} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.86 MiB (attempt to allocate chunk of 1726488 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33094) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.678153 [ 31176 ] {42a0b3c7-23ab-4c39-8ffe-70244c10a62b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.57 MiB (attempt to allocate chunk of 1728024 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.682092 [ 31174 ] {fadbc9f5-eb94-4ab8-9197-489054c88e61} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.21 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.683353 [ 31175 ] {58003dfc-6b57-409d-ab21-f6ad00cfcd67} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.86 MiB (attempt to allocate chunk of 1726488 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.697470 [ 31189 ] {a29b9b72-0128-41bc-8a0d-cb146e0328d0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.19 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33116) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.706327 [ 31189 ] {a29b9b72-0128-41bc-8a0d-cb146e0328d0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.19 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.712108 [ 28612 ] {d3cd8313-71b0-43dc-ada3-669286b9e0e7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.21 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33136) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.715256 [ 31190 ] {d49d0ca2-f926-47be-b4d4-614507fbd9cb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.30 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33128) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.718078 [ 28612 ] {d3cd8313-71b0-43dc-ada3-669286b9e0e7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.21 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.720938 [ 31190 ] {d49d0ca2-f926-47be-b4d4-614507fbd9cb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.30 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.751142 [ 31172 ] {34743a9d-0928-4b1d-93a9-803dc552f4ff} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33144) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:00.757694 [ 31172 ] {34743a9d-0928-4b1d-93a9-803dc552f4ff} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.43 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283589 [ 28612 ] {72b1969c-2a98-479f-81a0-8e65c2cceade} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1438024 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33294) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283718 [ 31173 ] {d1db2edf-04f7-43d3-8ba1-64b543272eb5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.75 MiB (attempt to allocate chunk of 1727048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33312) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283633 [ 31172 ] {99b57b86-cd0f-4200-a846-c736895e7062} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.32 MiB (attempt to allocate chunk of 1732200 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33308) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283855 [ 31176 ] {9bf01f9e-c9e3-4195-8484-e9cb7af956ea} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1731688 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33334) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283922 [ 31189 ] {79e60795-2f4c-4f07-a64c-246a665772f0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.40 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33346) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283857 [ 31175 ] {254ac430-d5de-4c62-a5c2-1713218290b3} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.41 MiB (attempt to allocate chunk of 1727608 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33326) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.284012 [ 31191 ] {0e509dbe-bce8-4872-8371-c57853a94f36} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.16 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33358) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283991 [ 31190 ] {4664e0da-798f-4fe0-add7-d293780fed0d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.82 MiB (attempt to allocate chunk of 1727080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33356) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.283594 [ 31174 ] {f88b1b61-5f05-4a5f-913b-f49baa1ad0f1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.72 MiB (attempt to allocate chunk of 1730664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33324) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.284128 [ 31192 ] {cf26d6d7-c89a-468e-8dd2-a4e3cf70db81} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.51 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33368) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.291905 [ 31190 ] {4664e0da-798f-4fe0-add7-d293780fed0d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.82 MiB (attempt to allocate chunk of 1727080 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.292158 [ 31172 ] {99b57b86-cd0f-4200-a846-c736895e7062} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.32 MiB (attempt to allocate chunk of 1732200 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.292287 [ 31192 ] {cf26d6d7-c89a-468e-8dd2-a4e3cf70db81} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.51 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.292337 [ 31174 ] {f88b1b61-5f05-4a5f-913b-f49baa1ad0f1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.72 MiB (attempt to allocate chunk of 1730664 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.292626 [ 31175 ] {254ac430-d5de-4c62-a5c2-1713218290b3} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.41 MiB (attempt to allocate chunk of 1727608 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.293472 [ 28612 ] {72b1969c-2a98-479f-81a0-8e65c2cceade} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1438024 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.294626 [ 31176 ] {9bf01f9e-c9e3-4195-8484-e9cb7af956ea} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1731688 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.294675 [ 31173 ] {d1db2edf-04f7-43d3-8ba1-64b543272eb5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.75 MiB (attempt to allocate chunk of 1727048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.294974 [ 31191 ] {0e509dbe-bce8-4872-8371-c57853a94f36} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.16 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:02.296473 [ 31189 ] {79e60795-2f4c-4f07-a64c-246a665772f0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.40 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.652183 [ 31173 ] {8e572719-977d-4e96-a52e-537c16909887} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.31 MiB (attempt to allocate chunk of 1729384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33396) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.654985 [ 31172 ] {9c76e35e-2365-49bd-86c7-827494feb133} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.29 MiB (attempt to allocate chunk of 1727304 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33384) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.657515 [ 31175 ] {f7d86862-7d86-4745-b61d-53ed418b166f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.33 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33428) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.658602 [ 31173 ] {8e572719-977d-4e96-a52e-537c16909887} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.31 MiB (attempt to allocate chunk of 1729384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780481 [ 28612 ] {09873d3b-d391-496c-a3fd-d8a3ae968a45} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.53 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33374) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:03.780607 [ 31174 ] {a1b95b4e-86c7-4df2-a39b-872f18484105} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.72 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33412) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780657 [ 31176 ] {79210668-f4c0-44b5-a62d-19602e3cb2fb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.75 MiB (attempt to allocate chunk of 1729896 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33444) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780820 [ 31191 ] {adacab72-2833-4821-9d89-877cb6b90bb2} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.84 MiB (attempt to allocate chunk of 1728360 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33478) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780831 [ 31190 ] {eb49b63b-8350-45a5-bc7f-eb938975e413} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.55 MiB (attempt to allocate chunk of 1729128 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33468) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780896 [ 31173 ] {26bb426c-77fb-4475-ad29-48199fcfeb03} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.23 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33494) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.780975 [ 31189 ] {24440c28-9460-4510-8f3e-7eba7751a9fb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.02 MiB (attempt to allocate chunk of 1735272 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33460) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.781107 [ 31175 ] {f7d86862-7d86-4745-b61d-53ed418b166f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.33 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.781307 [ 31172 ] {9c76e35e-2365-49bd-86c7-827494feb133} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.29 MiB (attempt to allocate chunk of 1727304 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.786406 [ 28612 ] {09873d3b-d391-496c-a3fd-d8a3ae968a45} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.53 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:03.786832 [ 31176 ] {79210668-f4c0-44b5-a62d-19602e3cb2fb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.75 MiB (attempt to allocate chunk of 1729896 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.786866 [ 31191 ] {adacab72-2833-4821-9d89-877cb6b90bb2} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.84 MiB (attempt to allocate chunk of 1728360 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.787430 [ 31173 ] {26bb426c-77fb-4475-ad29-48199fcfeb03} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.23 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.787592 [ 31174 ] {a1b95b4e-86c7-4df2-a39b-872f18484105} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.72 MiB (attempt to allocate chunk of 1729640 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.789023 [ 31189 ] {24440c28-9460-4510-8f3e-7eba7751a9fb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.02 MiB (attempt to allocate chunk of 1735272 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:03.789083 [ 31190 ] {eb49b63b-8350-45a5-bc7f-eb938975e413} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.55 MiB (attempt to allocate chunk of 1729128 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.093830 [ 28612 ] {3185fb2a-eaf3-460e-adf3-9faeb5eea680} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.03 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33496) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.099646 [ 28612 ] {3185fb2a-eaf3-460e-adf3-9faeb5eea680} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.03 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.154241 [ 31172 ] {17918d3e-33e7-48b2-b519-e736839e9b4d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.11 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33502) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.161719 [ 31172 ] {17918d3e-33e7-48b2-b519-e736839e9b4d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.11 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.182552 [ 28612 ] {043fd075-4007-42b8-971a-84f42a983b25} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33506) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.188133 [ 28612 ] {043fd075-4007-42b8-971a-84f42a983b25} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.213817 [ 31172 ] {5f9d61b3-7bf8-403c-a967-123ed7d60d64} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.57 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33520) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.219178 [ 31172 ] {5f9d61b3-7bf8-403c-a967-123ed7d60d64} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.57 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.220192 [ 31173 ] {d686e596-850a-4eba-8cbb-54a98d8cb60a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.57 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33530) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.229248 [ 31173 ] {d686e596-850a-4eba-8cbb-54a98d8cb60a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.57 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.239354 [ 31174 ] {03d755d3-47e1-4453-ad7d-2a11a46e4d1b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.10 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33546) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.246925 [ 31174 ] {03d755d3-47e1-4453-ad7d-2a11a46e4d1b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.10 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.258811 [ 28612 ] {25c6be20-4df2-43f8-bd19-ca1a13d0f252} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.18 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33548) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.266283 [ 28612 ] {25c6be20-4df2-43f8-bd19-ca1a13d0f252} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.18 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.299962 [ 31172 ] {d202c80a-8822-42d4-8cff-8b2664573b77} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33560) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.305330 [ 31172 ] {d202c80a-8822-42d4-8cff-8b2664573b77} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.27 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.336135 [ 28612 ] {244f1739-ff11-48dd-bb77-e7ffd773659a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.35 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33574) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.341768 [ 28612 ] {244f1739-ff11-48dd-bb77-e7ffd773659a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.35 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.365501 [ 31172 ] {8da68ab8-b75c-4181-8380-f4cec30a0838} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.44 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33584) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:05.370524 [ 31172 ] {8da68ab8-b75c-4181-8380-f4cec30a0838} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.44 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.454510 [ 28612 ] {4c42dfce-ea8e-4ad9-b627-31e3ad7a81c5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33590) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.462251 [ 28612 ] {4c42dfce-ea8e-4ad9-b627-31e3ad7a81c5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1437544 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:134: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x1974dde5 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:160: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x1974dc79 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2053: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x2a5edaea in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x2a5ecf80 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1848: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x2a1c0c35 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2284: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x2a1bb28e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:486: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x2ccb6010 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:307: DB::ConvertingAggregatedToChunksTransform::work() @ 0x2ccb218f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.525363 [ 28612 ] {c43f3d59-831a-4aa2-a228-50699e380937} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.29 MiB (attempt to allocate chunk of 1727848 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33606) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.532296 [ 31172 ] {0a642ca3-a182-4bc9-bc01-c9875f06e465} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.94 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33598) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.533006 [ 28612 ] {c43f3d59-831a-4aa2-a228-50699e380937} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.29 MiB (attempt to allocate chunk of 1727848 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.540667 [ 31172 ] {0a642ca3-a182-4bc9-bc01-c9875f06e465} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.94 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.576334 [ 31173 ] {8c84a9cd-3fa1-411f-a7fa-bda1adb70bbb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33620) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.583069 [ 31173 ] {8c84a9cd-3fa1-411f-a7fa-bda1adb70bbb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.595748 [ 28612 ] {bfdbe7ac-af79-4ba1-9e3a-98320b3be2b8} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.91 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33632) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.601482 [ 28612 ] {bfdbe7ac-af79-4ba1-9e3a-98320b3be2b8} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.91 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.673864 [ 31173 ] {904a4dd4-8b6d-46c7-a62a-0e76396082e4} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.31 MiB (attempt to allocate chunk of 1733496 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33660) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.679318 [ 31173 ] {904a4dd4-8b6d-46c7-a62a-0e76396082e4} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.31 MiB (attempt to allocate chunk of 1733496 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.683565 [ 28612 ] {fc1d860a-c954-4939-ac0f-78c085fe7e2f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33648) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.692334 [ 28612 ] {fc1d860a-c954-4939-ac0f-78c085fe7e2f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.95 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.750379 [ 31173 ] {ecfb6148-ac53-4db7-848c-a30cb147c729} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33662) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.755742 [ 31173 ] {ecfb6148-ac53-4db7-848c-a30cb147c729} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:80: CurrentMemoryTracker::check() @ 0x221827b1 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1821: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x2a1218f7 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1613: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a13211c in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2c8b95c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse 2024.03.06 02:03:06.755932 [ 28612 ] {6775f075-f668-4d2c-a8d6-0fda0409de03} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 1730408 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33666) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.758561 [ 31174 ] {4311b792-9f2d-4fc1-8f0e-5de08006a179} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.98 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33672) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.761150 [ 28612 ] {6775f075-f668-4d2c-a8d6-0fda0409de03} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.30 MiB (attempt to allocate chunk of 1730408 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:06.766066 [ 31174 ] {4311b792-9f2d-4fc1-8f0e-5de08006a179} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.98 MiB (attempt to allocate chunk of 1726824 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 11. /build/src/Common/CurrentMemoryTracker.cpp:97: CurrentMemoryTracker::realloc(long, long) @ 0x22182870 in /usr/bin/clickhouse 12. /build/src/Common/Allocator.h:156: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x22181990 in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:587: HashTable, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x2a29b76e in /usr/bin/clickhouse 14. /build/src/Common/HashTable/HashTable.h:985: void DB::Aggregator::executeImplBatch, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x2a32a9c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a1d1647 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1041: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x2a12cbc5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:1591: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x2a131f45 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:668: DB::AggregatingTransform::consume(DB::Chunk) @ 0x2ccaccf3 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:627: DB::AggregatingTransform::work() @ 0x2ccaa2d9 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:337: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x2c8b9918 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x2c8b9875 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b9859 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::tuple<>&) @ 0x2c8b97bd in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() @ 0x2c8b96c2 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) @ 0x2c8b9635 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) @ 0x2c8b9615 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2c8b95f5 in /usr/bin/clickhouse 2024.03.06 02:03:34.494436 [ 28612 ] {c6ee7dda-b225-489c-baf0-e1179d853097} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54244) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:237: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x29eb1e8b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:607: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d71ad in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:03:34.496282 [ 28612 ] {c6ee7dda-b225-489c-baf0-e1179d853097} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:237: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x29eb1e8b in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:607: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d71ad in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:03:35.953923 [ 28612 ] {e0c0274f-869a-4ce4-9dd9-9220d79f4063} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54248) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x2927de1d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x2927cd06 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:60: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x2adeb2ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x2adc600f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:156: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3b74 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:03:35.955950 [ 28612 ] {e0c0274f-869a-4ce4-9dd9-9220d79f4063} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x2927de1d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x2927cd06 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:60: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x2adeb2ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x2adc600f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:156: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3b74 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:03:45.307673 [ 28612 ] {16010325-4023-430c-a5f3-e96b2092924e} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42966) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 SELECT toString(number) FROM numbers(100)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x2ccc72b9 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 2024.03.06 02:03:45.310006 [ 28612 ] {16010325-4023-430c-a5f3-e96b2092924e} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 17:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x289043d6 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x2927f38d in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x2927da95 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x2927c83b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x2927c7a8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x2ccc72b9 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:48: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8b5227 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:85: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x2c8b50c1 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x2c8b5075 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x2c8b5059 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x2c8b4fbd in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x2c8b4ec2 in /usr/bin/clickhouse 2024.03.06 02:09:35.517719 [ 31766 ] {8e67589f-b0bb-47de-aaef-1e32075b5071} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49376) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: INSERT INTO test_3luykskp.in_02232 (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:155: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7b56 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c8e71ab in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c8e7299 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:792: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa2c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:09:35.519202 [ 31766 ] {8e67589f-b0bb-47de-aaef-1e32075b5071} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:155: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7b56 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c8e71ab in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c8e7299 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:792: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa2c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:09:35.594403 [ 31766 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:13: DB::NetException::NetException(int, char const (&) [44]) @ 0x2c8481be in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1767: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x2c840d42 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x2c83882f in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:273: DB::TCPHandler::runImpl() @ 0x2c82faa1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:09:35.741897 [ 28612 ] {0ebe35d9-cc07-4815-ba78-3071b9621ed0} StorageDistributed (remote): Code: 394. DB::Exception: Received from 127.2:9000. DB::Exception: Query was cancelled. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:155: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7b56 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c8e71ab in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c8e7299 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:792: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa2c in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? . (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1357: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x22278082 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1104: DB::Connection::receiveException() const @ 0x2c6b4419 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:946: DB::Connection::receivePacket() @ 0x2c6bbd71 in /usr/bin/clickhouse 9. /build/src/QueryPipeline/RemoteInserter.cpp:103: DB::RemoteInserter::write(DB::Block) @ 0x2bfb8103 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/RemoteSink.h:23: DB::RemoteSink::consume(DB::Chunk) @ 0x2bfd9d35 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x2c8e71ab in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x2c8e7299 in /usr/bin/clickhouse 27. /build/src/Storages/Distributed/DistributedSink.cpp:407: DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0::operator()() const @ 0x2bfd27e5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0&) @ 0x2bfd1615 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::DistributedSink::runWritingJob(DB::DistributedSink::JobReplica&, DB::Block const&, unsigned long)::$_0&) @ 0x2bfd15f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2bfd15d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2bfd15a0 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:09:35.826451 [ 28612 ] {0ebe35d9-cc07-4815-ba78-3071b9621ed0} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38692). (NETWORK_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38692) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: insert into function remote('127.2', currentDatabase(), in_02232) select * from numbers(1e6)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c83d239 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c839694 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c830762 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:09:35.828353 [ 28612 ] {0ebe35d9-cc07-4815-ba78-3071b9621ed0} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38692). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c8428f5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c83989f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c831b68 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:09:35.828996 [ 28612 ] {0ebe35d9-cc07-4815-ba78-3071b9621ed0} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38692). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c83d239 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c839694 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c830762 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:09:35.830715 [ 28612 ] {0ebe35d9-cc07-4815-ba78-3071b9621ed0} TCPHandler: Client has gone away. 2024.03.06 02:09:48.550167 [ 28612 ] {2d890ff5-e316-4f39-b70d-de01e190da51} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.56 MiB (attempt to allocate chunk of 1049717 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33944) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29c574c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2c012e79 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2c010253 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:276: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x2c49941b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:184: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x2c497f59 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:535: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c487bec in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c636660 in /usr/bin/clickhouse 27. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 2024.03.06 02:09:48.551970 [ 28612 ] {2d890ff5-e316-4f39-b70d-de01e190da51} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.56 MiB (attempt to allocate chunk of 1049717 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29c574c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2c012e79 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2c010253 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:276: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x2c49941b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:184: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x2c497f59 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:535: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c487bec in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeSink.cpp:84: DB::MergeTreeSink::consume(DB::Chunk) @ 0x2c636660 in /usr/bin/clickhouse 27. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 2024.03.06 02:10:22.080881 [ 28612 ] {6761e1a1-3588-4bce-883e-d29842f21ded} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.60 MiB (attempt to allocate chunk of 1049717 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33944) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_rep_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29c574c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2c012e79 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2c010253 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:276: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x2c49941b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:184: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x2c497f59 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:535: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c487bec in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:451: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2cee in /usr/bin/clickhouse 27. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 2024.03.06 02:10:22.082621 [ 28612 ] {6761e1a1-3588-4bce-883e-d29842f21ded} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.60 MiB (attempt to allocate chunk of 1049717 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x221f6afd in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:284: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f4f85 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:338: MemoryTracker::allocImpl(long, bool, MemoryTracker*) @ 0x221f52b6 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:59: CurrentMemoryTracker::allocImpl(long, bool) @ 0x22182649 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:86: CurrentMemoryTracker::alloc(long) @ 0x221827e1 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x2217caee in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x2226a50c in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x2226a440 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x2226a315 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x222911d1 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:90: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, unsigned long, String) @ 0x22290338 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:35: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, unsigned int, char*, unsigned long) @ 0x223bff0d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000](std::__fs::filesystem::path&&, unsigned long&, int&) @ 0x29c674c7 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:373: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x29c5f2f6 in /usr/bin/clickhouse 19. /build/src/Disks/FakeDiskTransaction.h:69: DB::FakeDiskTransaction::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&, bool) @ 0x29c574c3 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:118: DB::DataPartStorageOnDiskFull::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x2c012e79 in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/IDataPartStorage.h:246: DB::IDataPartStorage::writeFile(String const&, unsigned long, DB::WriteSettings const&) @ 0x2c010253 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:276: DB::MergedBlockOutputStream::finalizePartOnDisk(std::shared_ptr const&, DB::MergeTreeDataPartChecksums&) @ 0x2c49941b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergedBlockOutputStream.cpp:184: DB::MergedBlockOutputStream::finalizePartAsync(std::shared_ptr const&, bool, DB::NamesAndTypesList const*, DB::MergeTreeDataPartChecksums*) @ 0x2c497f59 in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:535: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x2c487bec in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:340: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x2c484e7d in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:451: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b2cee in /usr/bin/clickhouse 27. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 2024.03.06 02:10:31.290697 [ 28612 ] {1cb8bfe6-970b-4b61-99d4-53f3a1d102e9} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34796) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:10:31.291796 [ 28612 ] {1cb8bfe6-970b-4b61-99d4-53f3a1d102e9} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:10:38.701593 [ 28612 ] {f8e59e18-2105-4b25-8fa9-a67073b856cb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34866) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:10:38.703676 [ 28612 ] {f8e59e18-2105-4b25-8fa9-a67073b856cb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:10:47.252463 [ 28612 ] {929cfef4-941f-466a-89d9-360d6b0ec85c} executeQuery: Code: 60. DB::Exception: Table test_tdg5pgmd.test doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33698) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test_dist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2cf3dce8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b955722 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:163: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b954a1c in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b95d035 in /usr/bin/clickhouse 15. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b927827 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:10:47.254625 [ 28612 ] {929cfef4-941f-466a-89d9-360d6b0ec85c} TCPHandler: Code: 60. DB::Exception: Table test_tdg5pgmd.test doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:101: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x2cf3dce8 in /usr/bin/clickhouse 12. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:119: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int)::$_1::operator()() const @ 0x2b955722 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:163: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int) @ 0x2b954a1c in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:212: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x2b95d035 in /usr/bin/clickhouse 15. /build/src/Storages/StorageDistributed.cpp:1126: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b927827 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:11:16.615124 [ 28612 ] {d6f7a42b-d08a-4a88-bcdc-52e3d4be2747} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36124) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b975384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:11:16.616142 [ 28612 ] {d6f7a42b-d08a-4a88-bcdc-52e3d4be2747} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b975384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:11:16.626420 [ 28612 ] {6b75f352-57ec-4cc7-9bcd-42fcfc7359d8} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36124) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b975384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:11:16.627231 [ 28612 ] {6b75f352-57ec-4cc7-9bcd-42fcfc7359d8} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1101: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2b975384 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:447: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::atomic*, DB::Block const&) @ 0x2ce00b69 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:276: DB::InterpreterInsertQuery::buildChainImpl(std::shared_ptr const&, std::shared_ptr const&, DB::Block const&, std::shared_ptr, std::atomic*) @ 0x2adecd5a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:466: DB::InterpreterInsertQuery::execute() @ 0x2adeeeaa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:16.913251 [ 28612 ] {3b8d8428-31f6-41ee-9aa8-72092b6c1c14} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35174) (comment: 02167_format_from_file_extension.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:16.915610 [ 28612 ] {3b8d8428-31f6-41ee-9aa8-72092b6c1c14} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:19.877832 [ 28612 ] {bfda068c-2c4a-4c62-8177-8b89a90cf1df} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35176) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:19.878877 [ 28612 ] {bfda068c-2c4a-4c62-8177-8b89a90cf1df} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:38.925781 [ 28612 ] {a289997d-84cf-4d54-a7e4-980ca4f4b14f} executeQuery: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58040) (comment: 02130_parse_quoted_null.sh) (in query: select * from file('test_02130.data', 'CustomSeparated', 'x Nullable(Float64), y Nullable(UInt64)') settings input_format_parallel_parsing=0, format_custom_escaping_rule='Quoted'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x222a1973 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:450: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b6355d in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x29b5dbc6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:456: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5f9d5 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:392: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b5ccd1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x2c9c0179 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:273: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca216e9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 2024.03.06 02:12:38.929134 [ 28612 ] {a289997d-84cf-4d54-a7e4-980ca4f4b14f} TCPHandler: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x222a1973 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:450: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b6355d in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x29b5dbc6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:456: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5f9d5 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:392: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b5ccd1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x2c9c0179 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:273: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca216e9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:112: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x2c8df0c0 in /usr/bin/clickhouse 2024.03.06 02:12:43.137610 [ 28612 ] {99f2e2b1-0a45-419d-bfe4-dffe1f18c9fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42620) (comment: 02126_identity_user_defined_function.sql) (in query: SELECT 02126_function();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:43.138633 [ 28612 ] {99f2e2b1-0a45-419d-bfe4-dffe1f18c9fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1267: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b7749 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:44.658477 [ 28612 ] {ca2e318f-8f8c-4b77-bab6-59e19586075d} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42634) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:44.659624 [ 28612 ] {ca2e318f-8f8c-4b77-bab6-59e19586075d} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:44.825404 [ 28612 ] {773a00c0-075b-4b9b-b0f4-eb52f0ea6e50} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42634) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_1(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:12:44.826522 [ 28612 ] {773a00c0-075b-4b9b-b0f4-eb52f0ea6e50} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:12:44.832521 [ 28612 ] {fa878cdd-caa7-4580-89ba-237719d447e7} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42634) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_2(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:12:44.833474 [ 28612 ] {fa878cdd-caa7-4580-89ba-237719d447e7} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:127: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c3e93 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:181: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x2d0c4656 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:106: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3a7c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:111: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x2d0c3b67 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1372: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x2b2b8a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr, bool, std::unordered_map, std::equal_to, std::allocator>>, std::unordered_map, std::equal_to, std::allocator>>) const @ 0x2b2b6f29 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:587: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae19703 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:12:47.775542 [ 28612 ] {38118d79-1a1d-43c2-a885-52c4c013a365} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42640) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:47.776350 [ 28612 ] {38118d79-1a1d-43c2-a885-52c4c013a365} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:12:49.215601 [ 28612 ] {2846a59e-c982-4275-9127-f6a782df23be} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42650) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Array(UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b2b714 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:49.218062 [ 28612 ] {2846a59e-c982-4275-9127-f6a782df23be} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b2b714 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:50.708415 [ 28612 ] {ee2164ca-a881-4daf-b1db-22bc1133b81b} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42660) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b33293 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:50.710791 [ 28612 ] {ee2164ca-a881-4daf-b1db-22bc1133b81b} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b33293 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:52.225252 [ 28612 ] {a82c2924-67e1-4eec-86a6-28ccdc6a5039} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33120) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b339f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:52.227739 [ 28612 ] {a82c2924-67e1-4eec-86a6-28ccdc6a5039} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b339f3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:53.718127 [ 28612 ] {c3993f10-3a49-4be6-ae3c-a41484e9201b} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 11:00:00': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33134) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:69: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b342b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:53.721441 [ 28612 ] {c3993f10-3a49-4be6-ae3c-a41484e9201b} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 11:00:00': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:69: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b342b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:55.190159 [ 28612 ] {79cb743b-0129-4309-a159-655688624d09} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33136) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime64(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:54: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b35813 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:55.192774 [ 28612 ] {79cb743b-0129-4309-a159-655688624d09} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:54: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b35813 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:12:56.671782 [ 28612 ] {0916b567-f73a-4256-84c6-4c6e0e849d2b} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33140) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UInt32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:35: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b6a142 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:56.674126 [ 28612 ] {0916b567-f73a-4256-84c6-4c6e0e849d2b} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:35: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b6a142 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:58.162987 [ 28612 ] {91359b19-ac46-46b1-aac9-9faaf5c02e25} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33146) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Decimal32(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b37b89 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:58.165844 [ 28612 ] {91359b19-ac46-46b1-aac9-9faaf5c02e25} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b37b89 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:59.600183 [ 28612 ] {6492cce8-2e2f-4ac2-8ae3-9cb71410f91e} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33160) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b60f56 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:12:59.602654 [ 28612 ] {6492cce8-2e2f-4ac2-8ae3-9cb71410f91e} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b60f56 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:01.102470 [ 1128 ] {59c18b2f-eac1-4f44-aab9-10e30debde2e} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:01.106330 [ 28612 ] {59c18b2f-eac1-4f44-aab9-10e30debde2e} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33168) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 2024.03.06 02:13:01.109709 [ 28612 ] {59c18b2f-eac1-4f44-aab9-10e30debde2e} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 2024.03.06 02:13:01.111949 [ 28612 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:33168). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:02.622810 [ 7875 ] {77ff948b-a45c-4d90-812b-120d0c7ba16e} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:02.628138 [ 28612 ] {77ff948b-a45c-4d90-812b-120d0c7ba16e} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59812) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 02:13:02.633620 [ 28612 ] {77ff948b-a45c-4d90-812b-120d0c7ba16e} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 02:13:04.142582 [ 28612 ] {e45b16e5-267e-4659-9288-671ccb894566} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59822) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b60e02 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b66a9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29b5b2f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5efdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca332db in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:13:04.144888 [ 28612 ] {e45b16e5-267e-4659-9288-671ccb894566} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b60e02 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b66a9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29b5b2f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5efdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca332db in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:13:05.631373 [ 28612 ] {151fe1d6-7bc4-4ba1-858f-b1b2e67b3001} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59828) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b8aead in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:05.633710 [ 28612 ] {151fe1d6-7bc4-4ba1-858f-b1b2e67b3001} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:25: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x19b8aead in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:06.965502 [ 18785 ] {3c612eb6-98a0-43a8-909b-589ee75f764e} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:06.968845 [ 28612 ] {3c612eb6-98a0-43a8-909b-589ee75f764e} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59840) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 2024.03.06 02:13:06.972173 [ 28612 ] {3c612eb6-98a0-43a8-909b-589ee75f764e} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing ParallelParsingBlockInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:179: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x222825f3 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:103: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x22275b8a in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:210: DB::assertChar(char, DB::ReadBuffer&) @ 0x19b62180 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:101: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x2cc59efd in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 2024.03.06 02:13:06.974350 [ 28612 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:59840). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:08.341374 [ 2013 ] {367d14ed-309b-4872-b590-c429b42ef3d3} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:08.344152 [ 28612 ] {367d14ed-309b-4872-b590-c429b42ef3d3} executeQuery: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59846) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 02:13:08.347227 [ 28612 ] {367d14ed-309b-4872-b590-c429b42ef3d3} TCPHandler: Code: 117. DB::Exception: Expected end of line: (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [21]) @ 0x2218f99e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:132: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x2c9f921f in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:187: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x2c9f8fa5 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:233: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce252 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:172: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x2caa131f in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:107: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x2ca9f97b in /usr/bin/clickhouse 14. /build/src/Processors/Formats/Impl/ParallelParsingInputFormat.h:285: DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()::operator()() const @ 0x2caa27a1 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ParallelParsingInputFormat::scheduleParserThreadForUnitWithNumber(unsigned long)::'lambda'()&) @ 0x2caa2735 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2caa2715 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2caa26e0 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 2024.03.06 02:13:08.349418 [ 28612 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:59846). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x2ac1c46c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:65: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x2ac1b828 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:66: DB::ReadBuffer::next() @ 0x197c0e7c in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:100: DB::TCPHandler::runImpl() @ 0x2c82efc6 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:13:09.859230 [ 28612 ] {6a5b9f53-f136-4dd9-afd9-ad53d9c28ae2} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59860) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b8ad48 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b66a9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29b5b2f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5efdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca332db in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:13:09.861719 [ 28612 ] {6a5b9f53-f136-4dd9-afd9-ad53d9c28ae2} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:66: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x19b8ad48 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:642: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b66a9c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x29b5b2f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:640: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5efdd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:218: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca332db in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:83: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long) @ 0x2c8df21a in /usr/bin/clickhouse 2024.03.06 02:13:11.320868 [ 28612 ] {9c617553-7185-413e-b865-49c0549595b2} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53368) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Map(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b577fc in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:11.323379 [ 28612 ] {9c617553-7185-413e-b865-49c0549595b2} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b577fc in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:12.819694 [ 28612 ] {878b674d-bd74-445c-892e-0dc37a27424e} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53380) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Tuple(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1::operator()() const @ 0x29b993cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1&&) @ 0x29b976d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b97690 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 02:13:12.822135 [ 28612 ] {878b674d-bd74-445c-892e-0dc37a27424e} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1::operator()() const @ 0x29b993cb in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_1&&) @ 0x29b976d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29b97690 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 2024.03.06 02:13:14.285560 [ 28612 ] {5db68f2d-7e06-45b7-ac72-444f0078b2c7} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53388) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UUID')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:26: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ba0317 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:14.288094 [ 28612 ] {5db68f2d-7e06-45b7-ac72-444f0078b2c7} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x29b1f1a8 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x29b1defb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:26: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x29ba0317 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x197493f7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:488: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x29b64c3c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x29b5af72 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:492: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x29b5e6b3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:211: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x2ca3317e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:112: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x2ca44fa9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:220: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x2c9ce1ac in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:112: DB::IRowInputFormat::generate() @ 0x2c98f6c4 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:633: DB::StorageFileSource::generate() @ 0x2b97f807 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x2c89b230 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x2c89af2b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:212: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x2c8b81f7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x2c8b71d8 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:104: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b6760 in /usr/bin/clickhouse 2024.03.06 02:13:17.248337 [ 28612 ] {b1e44b0d-29e2-4e58-bce8-1a1ff0b72232} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53398) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:13:17.249149 [ 28612 ] {b1e44b0d-29e2-4e58-bce8-1a1ff0b72232} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:13:59.237119 [ 28612 ] {fe142d0b-23fe-4868-8c13-0a911b2486b4} executeQuery: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44172) (comment: 02101_sql_user_defined_functions_drop_if_exists.sql) (in query: DROP FUNCTION 02101_test_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098ee9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:13:59.238039 [ 28612 ] {fe142d0b-23fe-4868-8c13-0a911b2486b4} TCPHandler: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098ee9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:14:14.982748 [ 28612 ] {5b7dc0bc-715e-45fe-beb7-dffcbf1260d8} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58600) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:14:14.983571 [ 28612 ] {5b7dc0bc-715e-45fe-beb7-dffcbf1260d8} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:32.026866 [ 28612 ] {571fd716-1e29-4674-ac89-57a475f1df6a} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55374) (comment: 01902_table_function_merge_db_repr.sql) (in query: SELECT NULL FROM 01902_db.t_merge WHERE n ORDER BY _table DESC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cce7e9b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2cf59c45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x2ae35c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2491: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x2ae28875 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1652: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20aad in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:32.028032 [ 28612 ] {571fd716-1e29-4674-ac89-57a475f1df6a} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cce7e9b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2cf59c45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x2ae35c93 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2491: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x2ae28875 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1652: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae20aad in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.357828 [ 33392 ] {36d52034-3324-4529-9e31-45f21c8fecb5} executeQuery: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_1 AS (a, b) -> 01856_test_function_1(a, b) + 01856_test_function_1(a, b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d09a14e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d09a1b4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d09832e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.359220 [ 33392 ] {36d52034-3324-4529-9e31-45f21c8fecb5} TCPHandler: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [37]) @ 0x1aa70a5e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d09a14e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x2d09a1b4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x2d09832e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097ce0 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.454311 [ 33392 ] {fe7deaa1-4a05-4a72-8022-3deeb139e322} executeQuery: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION cast AS a -> a + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097acf in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.455396 [ 33392 ] {fe7deaa1-4a05-4a72-8022-3deeb139e322} TCPHandler: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097acf in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.542002 [ 33392 ] {7c2d5d1c-34f4-4a6a-bc7e-8f2ec83e31f4} executeQuery: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION sum AS (a, b) -> a + b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097b87 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.542982 [ 33392 ] {7c2d5d1c-34f4-4a6a-bc7e-8f2ec83e31f4} TCPHandler: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x2d097b87 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d098602 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.632681 [ 33392 ] {bd86ec4c-1515-4d8b-b2fb-21a802d5dfdd} executeQuery: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_2 AS (a) -> a || '!!!';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d09878d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.633594 [ 33392 ] {bd86ec4c-1515-4d8b-b2fb-21a802d5dfdd} TCPHandler: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x2d09878d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:50: DB::InterpreterCreateFunctionQuery::execute() @ 0x2ade7767 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.643710 [ 33392 ] {08270ba9-3f94-44b1-a546-b7471d8491b9} executeQuery: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: DROP FUNCTION unknown_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098ee9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.644601 [ 33392 ] {08270ba9-3f94-44b1-a546-b7471d8491b9} TCPHandler: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098ee9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.741347 [ 33392 ] {1834d9c9-0ba9-4d6f-9762-9c99d2e826ac} executeQuery: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55394) (comment: 01856_create_function.sql) (in query: DROP FUNCTION CAST;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x2d098444 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098dc5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:15:39.742617 [ 33392 ] {1834d9c9-0ba9-4d6f-9762-9c99d2e826ac} TCPHandler: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x2d098444 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x2d098dc5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:44: DB::InterpreterDropFunctionQuery::execute() @ 0x2ade7db2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:16:11.735518 [ 33392 ] {103760d6-6ab1-440a-8de0-6fce1345a092} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56474) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:16:11.737110 [ 33392 ] {103760d6-6ab1-440a-8de0-6fce1345a092} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:17:38.330113 [ 33392 ] {18657625-d7b9-4d31-a07c-b1d780782e8e} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58222) (comment: 01530_drop_database_atomic_sync.sql) (in query: CREATE TABLE db_01530_atomic.data (`key` Int) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') ORDER BY key SETTINGS index_granularity = 21130, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 23276, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9816334591, index_granularity_bytes = 28332232), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:878: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x2ba57fe4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:476: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x2ba51051 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0f01 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0bc2 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0814 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f05df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5ef908 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:687: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed90a in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 02:17:38.332001 [ 33392 ] {18657625-d7b9-4d31-a07c-b1d780782e8e} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:878: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x2ba57fe4 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:476: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions) @ 0x2ba51051 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0f01 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0bc2 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f0814 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5f05df in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&) @ 0x2c5ef908 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:687: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ed90a in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 2024.03.06 02:17:58.425409 [ 18747 ] {299a6926-ad28-480e-bb5a-a22404770315} DistributedSink: Structure does not match (remote: n Int8 Int8(size = 0), local: n UInt64 UInt64(size = 1)), implicit conversion will be done. 2024.03.06 02:19:27.284427 [ 33392 ] {13a375eb-e5fb-404f-b225-431936edaffd} executeQuery: Code: 60. DB::Exception: Table test_6sxxtqdx.table_for_freeze doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55902) (comment: 01417_freeze_partition_verbose.sh) (in query: ALTER TABLE table_for_freeze UNFREEZE PARTITION '7' WITH NAME 'test_01417_single_part_7_system'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:27.286619 [ 33392 ] {13a375eb-e5fb-404f-b225-431936edaffd} TCPHandler: Code: 60. DB::Exception: Table test_6sxxtqdx.table_for_freeze doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:32.858037 [ 33392 ] {cc3e7202-1a7d-4896-8b13-b7adc142dbbc} executeQuery: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [33]) @ 0x197c1b9e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1344: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b892879 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:32.859120 [ 33392 ] {cc3e7202-1a7d-4896-8b13-b7adc142dbbc} TCPHandler: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [33]) @ 0x197c1b9e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1344: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b892879 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.033929 [ 33392 ] {d9c45a10-e050-4b9f-aa6d-7638dc3562c2} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.034882 [ 33392 ] {d9c45a10-e050-4b9f-aa6d-7638dc3562c2} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.042529 [ 33392 ] {471703bd-f9ec-408d-8c93-1670d9e43bbe} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION 'asdasd';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.043365 [ 33392 ] {471703bd-f9ec-408d-8c93-1670d9e43bbe} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.051103 [ 33392 ] {df46ddd3-268f-493c-9090-8f673280e1b0} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '123';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.051911 [ 33392 ] {df46ddd3-268f-493c-9090-8f673280e1b0} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x1c9decac in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5216: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, std::unique_lock*) const @ 0x2c170a21 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:2982: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16d4b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.153531 [ 33392 ] {cac1f4e1-a60c-4ef2-b28d-6c74f3755019} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c1ccfe8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c170430 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.154492 [ 33392 ] {cac1f4e1-a60c-4ef2-b28d-6c74f3755019} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c1ccfe8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c170430 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.179159 [ 33392 ] {0bdbd7f1-d976-4c58-9dd5-61f289bed8a0} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48366) (comment: 01388_clear_all_columns.sql) (in query: -- y is only real column in table ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c1ccfe8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c170430 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:19:33.180069 [ 33392 ] {0bdbd7f1-d976-4c58-9dd5-61f289bed8a0} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x2c1ccfe8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3242: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c170430 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:02.819099 [ 33392 ] {bbd1a03d-a41f-41c8-8244-2a55090cba8e} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33640) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:02.820981 [ 33392 ] {bbd1a03d-a41f-41c8-8244-2a55090cba8e} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:04.134345 [ 33392 ] {d427bcf7-32e7-469c-a0d8-f5e91d5bad80} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33666) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:04.136222 [ 33392 ] {d427bcf7-32e7-469c-a0d8-f5e91d5bad80} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:05.627180 [ 33392 ] {6f33225f-215f-4c60-85e5-acaba5ad7f26} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33694) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:05.629027 [ 33392 ] {6f33225f-215f-4c60-85e5-acaba5ad7f26} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:07.015219 [ 33392 ] {737fcaea-41cc-479a-9601-8e770897d238} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33720) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:07.018542 [ 33392 ] {737fcaea-41cc-479a-9601-8e770897d238} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:08.350222 [ 33392 ] {11482115-e21d-4bc7-bb52-4f3241734d18} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33734) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:08.351720 [ 33392 ] {11482115-e21d-4bc7-bb52-4f3241734d18} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:09.636440 [ 33392 ] {a35dff6a-5f58-49ce-a8ee-d30e9e6e16ea} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33740) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:09.638707 [ 33392 ] {a35dff6a-5f58-49ce-a8ee-d30e9e6e16ea} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:10.972266 [ 33392 ] {a5d67110-9ae9-482f-96e9-b8d68cdead78} executeQuery: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33772) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:10.974301 [ 33392 ] {a5d67110-9ae9-482f-96e9-b8d68cdead78} TCPHandler: Code: 60. DB::Exception: Table test_01320.r doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:893: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x2af1ac22 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:519: DB::InterpreterSystemQuery::execute() @ 0x2af12f18 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:46.419793 [ 33392 ] {896b8f4f-4df8-4577-9ca4-263e51508969} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41158) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:46.420702 [ 33392 ] {896b8f4f-4df8-4577-9ca4-263e51508969} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:728: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b973693 in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:135: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x2b8e3b81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2447: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x2ae27119 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x2ae1ea2a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:837: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2ae1dbdd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x2af05a34 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x2af06580 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:20:49.498145 [ 33392 ] {bb5d0dcd-40ce-497e-bb0d-09b04d7f2f13} executeQuery: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:41184) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictHas('01280_db.ssd_dict', 'a', tuple('1'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1c81a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 02:20:49.499502 [ 33392 ] {bb5d0dcd-40ce-497e-bb0d-09b04d7f2f13} TCPHandler: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1c81a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 2024.03.06 02:20:52.925050 [ 33392 ] {83977b32-ac65-405d-8809-bf55ab544012} executeQuery: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54210) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x26258b29 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:530: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b9485 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1ceeab in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 02:20:52.926278 [ 33392 ] {83977b32-ac65-405d-8809-bf55ab544012} TCPHandler: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x26258b29 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:530: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b9485 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1ceeab in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 2024.03.06 02:20:58.087372 [ 2023 ] {ce01919f-4c95-4de6-a54d-088a4837fb86} ExternalDictionariesLoader: Could not load external dictionary '1754a2d2-7413-4992-b51a-944e8fe80daa', next update is scheduled at 2024-03-06 02:21:03: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x299ac448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abf67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2ccf97dc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c8e2741 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x262965da in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x262962de in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x262e55c2 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x262bd12a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcd1b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcc36 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcbb6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x262bcb42 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a6309e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a633d47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a636bb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a636b4d in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:20:58.089930 [ 33392 ] {ce01919f-4c95-4de6-a54d-088a4837fb86} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54246) (comment: 01259_dictionary_custom_settings_ddl.sql) (in query: SELECT dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x299ac448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abf67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2ccf97dc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c8e2741 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x262965da in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x262962de in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x262e55c2 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x262bd12a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcd1b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcc36 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcbb6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x262bcb42 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a6309e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a633d47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a636bb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a636b4d in /usr/bin/clickhouse 2024.03.06 02:20:58.092016 [ 33392 ] {ce01919f-4c95-4de6-a54d-088a4837fb86} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x299ac448 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x299abf67 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x299ac0d9 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x2ccf97dc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x261556a2 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x2c898192 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x2c8e269e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x2c8e2741 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x262965da in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x262962de in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x262e55c2 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x262bd12a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcd1b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_8&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcc36 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x262bcbb6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x262bcb42 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x2a6309e9 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1519: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a633d47 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1283: auto DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x2a636bb0 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval)::$_1&>()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000])::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&>(DB::ExternalLoader::ExternalLoader(String const&, std::shared_ptr)::$_1&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x2a636b4d in /usr/bin/clickhouse 2024.03.06 02:21:01.890919 [ 33392 ] {5322ac4f-af80-4e5a-8dc9-1f948000af96} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44304) (comment: 01225_drop_dictionary_as_table.sql) (in query: DROP TABLE dict_db_01225.dict;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b9198e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77bb9 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:01.891838 [ 33392 ] {5322ac4f-af80-4e5a-8dc9-1f948000af96} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped() const @ 0x2b9198e4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77bb9 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:20.898751 [ 47662 ] {c473efe8-9d2b-46e1-af39-e76733cc8319} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42236) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (3, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:20.901777 [ 47662 ] {c473efe8-9d2b-46e1-af39-e76733cc8319} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:22.374304 [ 47880 ] {87de03fc-d3d1-4a6b-91f0-da36f64e2a1d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34510) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (4, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:22.377666 [ 47880 ] {87de03fc-d3d1-4a6b-91f0-da36f64e2a1d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:23.774245 [ 47661 ] {d5e72fdd-e3e2-46d1-9204-2bf2943a3b79} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34576) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (5, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:23.777926 [ 47661 ] {d5e72fdd-e3e2-46d1-9204-2bf2943a3b79} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:26.789854 [ 47662 ] {1ba4def8-6393-4a48-96e3-f3248baee245} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34746) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (7, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:26.793416 [ 47662 ] {1ba4def8-6393-4a48-96e3-f3248baee245} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:28.277495 [ 47231 ] {d812ed1c-56e3-4678-a0be-3514b0dabb4a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34822) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (8, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:28.280784 [ 47231 ] {d812ed1c-56e3-4678-a0be-3514b0dabb4a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:29.742360 [ 47880 ] {6744edcb-34e8-4b5f-92b8-118efa614985} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34868) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (9, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:29.745631 [ 47880 ] {6744edcb-34e8-4b5f-92b8-118efa614985} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:31.184821 [ 47662 ] {1605c887-c64b-41b2-91f6-545f24b81e17} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60138) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (10, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:31.188037 [ 47662 ] {1605c887-c64b-41b2-91f6-545f24b81e17} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:32.694046 [ 47661 ] {1266b928-27b6-49fb-9b73-c3b796676111} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60168) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-11, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:32.696993 [ 47661 ] {1266b928-27b6-49fb-9b73-c3b796676111} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:35.585620 [ 47231 ] {9c54ff88-9454-4458-966c-7a08d5ed1163} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60278) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (13, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:35.588595 [ 47231 ] {9c54ff88-9454-4458-966c-7a08d5ed1163} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:41.836577 [ 47660 ] {36150fe7-1c38-42d1-9984-19670521c801} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55188) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-17, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:41.841262 [ 47660 ] {36150fe7-1c38-42d1-9984-19670521c801} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:43.520761 [ 33392 ] {4fd1d5e0-8638-4221-a7ef-d735c8e0ad54} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55260) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (18, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:43.523627 [ 33392 ] {4fd1d5e0-8638-4221-a7ef-d735c8e0ad54} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:45.048410 [ 33392 ] {976b0dea-9c61-41c7-a240-64f2e187ca6c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55334) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (19, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:45.052096 [ 33392 ] {976b0dea-9c61-41c7-a240-64f2e187ca6c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:46.480901 [ 33392 ] {323021a6-da38-4786-9d80-ecf0f74b2fa2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55380) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (20, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:46.483885 [ 33392 ] {323021a6-da38-4786-9d80-ecf0f74b2fa2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:47.940433 [ 33392 ] {7a1889df-9275-45b4-8a20-6280901f5d79} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55470) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (21, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:47.943498 [ 33392 ] {7a1889df-9275-45b4-8a20-6280901f5d79} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:49.514378 [ 47661 ] {bff0876f-0e0d-4405-a639-df922ea3aeca} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55532) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-22, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:49.518364 [ 47661 ] {bff0876f-0e0d-4405-a639-df922ea3aeca} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:50.984394 [ 47660 ] {4f99fc18-a914-44be-87c0-591564748fef} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:55594) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-23, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:50.987472 [ 47660 ] {4f99fc18-a914-44be-87c0-591564748fef} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:52.211121 [ 47231 ] {548f359a-755a-4905-8316-b1f6b721b932} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45906) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (24, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:52.214437 [ 47231 ] {548f359a-755a-4905-8316-b1f6b721b932} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:53.819616 [ 33392 ] {366f5a1f-898a-4506-be43-fc7356e51939} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45976) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (25, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:53.823014 [ 33392 ] {366f5a1f-898a-4506-be43-fc7356e51939} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:55.264011 [ 47661 ] {e788a25f-48ce-4429-8fd4-dbd30ab92e3f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46062) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (26, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:21:55.268298 [ 47661 ] {e788a25f-48ce-4429-8fd4-dbd30ab92e3f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:07.342894 [ 47231 ] {b618dac1-e8f4-4cd1-b2de-340086f641dc} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44404) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-34, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:07.346182 [ 47231 ] {b618dac1-e8f4-4cd1-b2de-340086f641dc} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:08.700168 [ 47660 ] {78da20f9-5ccb-4846-a02d-fad90ded9955} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44466) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (35, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:08.703233 [ 47660 ] {78da20f9-5ccb-4846-a02d-fad90ded9955} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:08.758894 [ 47661 ] {4ac309ca-7c29-4d46-9a4f-ae178a2bed11} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44460) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-35, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:08.761498 [ 47661 ] {4ac309ca-7c29-4d46-9a4f-ae178a2bed11} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:10.165446 [ 47231 ] {ccbefdbf-0004-4096-83ce-6b760ee895e9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44522) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-36, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:10.168171 [ 47231 ] {ccbefdbf-0004-4096-83ce-6b760ee895e9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:15.991581 [ 47662 ] {cfbcfd42-64fd-4c10-b43e-9ee1b5d098c9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42444) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (40, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:15.995393 [ 47662 ] {cfbcfd42-64fd-4c10-b43e-9ee1b5d098c9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:17.516690 [ 47231 ] {85805601-2887-4249-8919-78a87c7697ff} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42504) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (41, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:17.519809 [ 47231 ] {85805601-2887-4249-8919-78a87c7697ff} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:18.880036 [ 47231 ] {4e96dab4-5832-4928-8ff8-6c63423d4981} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42574) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (42, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:18.882936 [ 47231 ] {4e96dab4-5832-4928-8ff8-6c63423d4981} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:24.864535 [ 47662 ] {bc762d27-763e-4ad3-a1e1-2ff646dd9834} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35018) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (46, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:24.868437 [ 47662 ] {bc762d27-763e-4ad3-a1e1-2ff646dd9834} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:32.214649 [ 47880 ] {8a31ef7f-2fe1-4c65-a3f1-b1a0a181d916} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48142) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-51, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:32.217509 [ 47880 ] {8a31ef7f-2fe1-4c65-a3f1-b1a0a181d916} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:33.672379 [ 47231 ] {0cfa8f60-08ba-4320-84a1-dbd3ca290519} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48218) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-52, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:33.675363 [ 47231 ] {0cfa8f60-08ba-4320-84a1-dbd3ca290519} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:35.558261 [ 33392 ] {c3d371c8-3b87-405e-b474-57d3767c357f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48296) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-53, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:35.561242 [ 33392 ] {c3d371c8-3b87-405e-b474-57d3767c357f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:44.869328 [ 47662 ] {3c0ff417-b913-47ee-b3cc-6ae7c7343893} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37218) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-59, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:44.873434 [ 47662 ] {3c0ff417-b913-47ee-b3cc-6ae7c7343893} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:46.283386 [ 33392 ] {c921fd8c-6c41-47e3-b8c8-221559793661} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37258) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (60, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:46.286079 [ 33392 ] {c921fd8c-6c41-47e3-b8c8-221559793661} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:47.740421 [ 47662 ] {da1a1061-6d17-4ec0-9235-936377fe3195} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:37346) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-61, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:47.743542 [ 47662 ] {da1a1061-6d17-4ec0-9235-936377fe3195} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:53.127730 [ 47880 ] {a8c6bb20-e59b-4992-81a9-a1f9b75b960b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33296) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-65, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:53.130888 [ 47880 ] {a8c6bb20-e59b-4992-81a9-a1f9b75b960b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:54.580205 [ 47880 ] {5c697d7c-d447-4b95-80d8-dba12a66e2f0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33370) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-66, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:54.583277 [ 47880 ] {5c697d7c-d447-4b95-80d8-dba12a66e2f0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:55.262160 [ 47662 ] {590cbc2c-a7f0-41d8-a10d-b7d4c840e782} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33384) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (66, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:55.265081 [ 47662 ] {590cbc2c-a7f0-41d8-a10d-b7d4c840e782} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:56.582081 [ 47662 ] {cf38a8bd-1eff-4125-9eac-56519e9f2cd7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33436) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (67, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:56.585231 [ 47662 ] {cf38a8bd-1eff-4125-9eac-56519e9f2cd7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:57.395893 [ 47880 ] {b8494ce1-a32b-4e16-8b88-11c4594cc493} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33492) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:57.398991 [ 47880 ] {b8494ce1-a32b-4e16-8b88-11c4594cc493} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:57.971884 [ 47660 ] {97ff1b05-e2c1-40a4-826c-20d5b78a0c5f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33538) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:57.974599 [ 47660 ] {97ff1b05-e2c1-40a4-826c-20d5b78a0c5f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:58.716938 [ 47661 ] {f92e3b86-0775-47bf-a6b6-f6cded21eb95} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33558) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (69, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:22:58.720638 [ 47661 ] {f92e3b86-0775-47bf-a6b6-f6cded21eb95} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:00.068412 [ 47660 ] {eea3e682-a210-4189-9a8a-438e587d1bf1} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33632) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (70, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:00.071244 [ 47660 ] {eea3e682-a210-4189-9a8a-438e587d1bf1} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:05.284546 [ 47880 ] {1301b108-61fb-42e4-82ef-e68036a2286d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53910) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (73, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:05.287744 [ 47880 ] {1301b108-61fb-42e4-82ef-e68036a2286d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:06.764301 [ 47660 ] {ff91362d-3292-4ed1-8252-d8b4039c220b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53966) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-74, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:06.767135 [ 47660 ] {ff91362d-3292-4ed1-8252-d8b4039c220b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:08.192600 [ 47880 ] {6896f9f8-5bd6-4ab4-b25b-72c69c62a57b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54030) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (75, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:08.195564 [ 47880 ] {6896f9f8-5bd6-4ab4-b25b-72c69c62a57b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:12.679545 [ 47880 ] {5b9f0e4d-5fc4-48c7-8631-1ad93a342ee6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35382) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (78, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:12.682550 [ 47880 ] {5b9f0e4d-5fc4-48c7-8631-1ad93a342ee6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:25.749846 [ 47660 ] {2048c035-b0d7-42c2-abcd-c74c19d2a464} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52142) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-87, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:25.752744 [ 47660 ] {2048c035-b0d7-42c2-abcd-c74c19d2a464} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:26.005606 [ 47660 ] {2efb68c7-f41f-4280-828f-c114efda9c0d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52158) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (87, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:26.009067 [ 47660 ] {2efb68c7-f41f-4280-828f-c114efda9c0d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:27.101194 [ 47231 ] {71a9f569-bf50-431f-ab47-dd4aef27a77c} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52206) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (88, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:27.104086 [ 47231 ] {71a9f569-bf50-431f-ab47-dd4aef27a77c} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:28.521959 [ 47880 ] {53445f6f-dc5e-43cd-9562-e2c981cd42f7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52284) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (89, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:28.524849 [ 47880 ] {53445f6f-dc5e-43cd-9562-e2c981cd42f7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:29.101568 [ 33392 ] {35a203bc-85df-4627-a95d-d270071d306f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52298) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-89, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:29.104270 [ 33392 ] {35a203bc-85df-4627-a95d-d270071d306f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:30.443168 [ 47661 ] {b994a925-690a-47c7-a43a-19e794ebbb71} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:52390) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (90, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:30.445950 [ 47661 ] {b994a925-690a-47c7-a43a-19e794ebbb71} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:31.458575 [ 33392 ] {60c5312a-22d1-4ab1-b527-9fcd498848eb} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38914) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (91, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:31.461575 [ 33392 ] {60c5312a-22d1-4ab1-b527-9fcd498848eb} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:32.802503 [ 33392 ] {c3e80021-060c-4513-a748-fece7ccbcff4} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38964) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (92, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:32.805950 [ 33392 ] {c3e80021-060c-4513-a748-fece7ccbcff4} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:34.368632 [ 47661 ] {b2c93e0b-c52f-4c2c-b742-a514edfc0eb4} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39038) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-93, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:34.371636 [ 47661 ] {b2c93e0b-c52f-4c2c-b742-a514edfc0eb4} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:35.792768 [ 47662 ] {2152ccae-9ebc-41a2-b094-42afde1c699b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39112) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-94, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:35.795449 [ 47662 ] {2152ccae-9ebc-41a2-b094-42afde1c699b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:37.756299 [ 33392 ] {a3c176e1-06c2-488a-8034-ccf69fd03234} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39192) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (95, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:37.759798 [ 33392 ] {a3c176e1-06c2-488a-8034-ccf69fd03234} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:40.392977 [ 47662 ] {2dea8f41-0d53-4f96-8d14-28b6ee51c256} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39316) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-97, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:40.395746 [ 47662 ] {2dea8f41-0d53-4f96-8d14-28b6ee51c256} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:40.714919 [ 47662 ] {2d5e0838-32bd-47fb-a0a3-05e38cabaf54} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:39326) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (97, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:40.717777 [ 47662 ] {2d5e0838-32bd-47fb-a0a3-05e38cabaf54} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:41.850570 [ 47661 ] {75fe9fd9-369a-4dee-bb8b-e33d35885d97} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33700) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-98, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:41.853614 [ 47661 ] {75fe9fd9-369a-4dee-bb8b-e33d35885d97} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:42.147511 [ 47662 ] {e5cd47df-f82e-4585-904c-c4b71d67fbff} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33734) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (98, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:42.150594 [ 47662 ] {e5cd47df-f82e-4585-904c-c4b71d67fbff} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:43.474727 [ 47662 ] {ca331c5c-e7b3-438d-bbad-6953a69ce18b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33766) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (99, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:43.477730 [ 47662 ] {ca331c5c-e7b3-438d-bbad-6953a69ce18b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:44.781849 [ 47661 ] {85c50a3b-49ea-489b-9f81-5ef405c22227} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33824) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:44.784577 [ 47661 ] {85c50a3b-49ea-489b-9f81-5ef405c22227} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.src (2dcfb536-f751-4ddc-8484-705f7198ff6e) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:44.893397 [ 47661 ] {f905ee73-983b-489a-9f79-ec0bb516b6b0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33840) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:44.896298 [ 47661 ] {f905ee73-983b-489a-9f79-ec0bb516b6b0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_2vrx0p4h.dst (acc9e472-ee02-4566-a039-efc182a1dd7f) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_2vrx0p4h.mv (a74a4bef-e25f-4dc9-8fc4-b92e68273aa6). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x2ccc01fa in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x2ccbfe45 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:23:58.708997 [ 47661 ] {ef19c84f-35b3-4a14-99c3-c72dbfb3bfe1} executeQuery: Code: 81. DB::Exception: Database test_01155_ordinary doesn't exist. (UNKNOWN_DATABASE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59746) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT materialize(2), substr(_table, 1, 10), s FROM merge('test_01155_atomic', '') ORDER BY _table, s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:347: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003bda in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:393: DB::StorageMaterializedView::getTargetTable() const @ 0x2b9e4609 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:404: DB::StorageMaterializedView::getVirtuals() const @ 0x2b9e7264 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x2bc36867 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr const&) @ 0x28d73bda in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28d73b2a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28d738e9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x28d735ef in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x28d73462 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x28d733ee in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:640: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x28d72565 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:288: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2ba0bd5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:23:58.710559 [ 47661 ] {ef19c84f-35b3-4a14-99c3-c72dbfb3bfe1} TCPHandler: Code: 81. DB::Exception: Database test_01155_ordinary doesn't exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:347: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003bda in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:393: DB::StorageMaterializedView::getTargetTable() const @ 0x2b9e4609 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:404: DB::StorageMaterializedView::getVirtuals() const @ 0x2b9e7264 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x2bc36867 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr const&) @ 0x28d73bda in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28d73b2a in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x28d738e9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x28d735ef in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x28d73462 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x28d733ee in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:640: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x28d72565 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:288: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x2ba0bd5b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:898: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2244d in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:23:58.824071 [ 47661 ] {49e4d9c4-636d-4d44-9381-2e0c68bb72aa} executeQuery: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59746) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT dictGet('test_01155_ordinary.dict', 'x', 'after moving tables');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 02:23:58.825199 [ 47661 ] {49e4d9c4-636d-4d44-9381-2e0c68bb72aa} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 02:24:06.975423 [ 675 ] {} test_pzw6f70l.src_13 (19058872-9d21-456f-9499-42764b0db646): Log pointer of source replica r1_1520333301 changed while we loading queue nodes. Will retry. 2024.03.06 02:24:09.808229 [ 47662 ] {6e565420-898a-4c98-be78-619826880525} executeQuery: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45424) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_7 DROP PART ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x2c3834ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x2c380bc7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4611: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c18855d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:09.810013 [ 47662 ] {6e565420-898a-4c98-be78-619826880525} TCPHandler: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x2c3834ec in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x2c380bc7 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4611: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x2c18855d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:155: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2b97 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:10.254670 [ 50440 ] {627979fa-f9b4-4a81-b31c-12a850651337} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:45470) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 1 TO TABLE dst_12), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:10.256374 [ 50440 ] {627979fa-f9b4-4a81-b31c-12a850651337} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:12.409618 [ 50442 ] {b830c457-2180-4223-a594-b64a1bf6e4c7} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38134) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 8 TO TABLE dst_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:12.411786 [ 50442 ] {b830c457-2180-4223-a594-b64a1bf6e4c7} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:14.082920 [ 50444 ] {8c762c39-13f1-4cd5-9916-af21dcc47347} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_9 (8c9b77e2-1d1e-4169-82d6-f7a5d98a4e13) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38208) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 5 TO TABLE dst_7), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:14.085285 [ 50444 ] {8c762c39-13f1-4cd5-9916-af21dcc47347} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_9 (8c9b77e2-1d1e-4169-82d6-f7a5d98a4e13) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:15.749671 [ 50442 ] {bcddf72e-ee28-4d59-b418-7d6c67302db7} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_9 (8c9b77e2-1d1e-4169-82d6-f7a5d98a4e13) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38256) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 7 TO TABLE dst_12), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:15.751491 [ 50442 ] {bcddf72e-ee28-4d59-b418-7d6c67302db7} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_9 (8c9b77e2-1d1e-4169-82d6-f7a5d98a4e13) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:21.067912 [ 50449 ] {97630611-7c01-4b77-80f4-40e7c1a5dd10} executeQuery: Code: 232. DB::Exception: Part 2_1_1_0 not found locally, won't try to drop it. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38436) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_13 DROP PART '2_1_1_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7656: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac4fc6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:21.070128 [ 50449 ] {97630611-7c01-4b77-80f4-40e7c1a5dd10} TCPHandler: Code: 232. DB::Exception: Part 2_1_1_0 not found locally, won't try to drop it. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7656: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac4fc6 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:25.363876 [ 50447 ] {725a81ef-8373-4983-868a-169d8a7f0115} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:35798) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 2 TO TABLE dst_6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:25.365750 [ 50447 ] {725a81ef-8373-4983-868a-169d8a7f0115} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:34.493844 [ 50449 ] {a1cefc60-b3fb-42d2-a169-3d1adf40dfdc} executeQuery: Code: 384. DB::Exception: Part 2_11_11_0 has already been assigned a merge into 2_8_13_1. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44070) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_12 DROP PART '2_11_11_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:34.496180 [ 50449 ] {a1cefc60-b3fb-42d2-a169-3d1adf40dfdc} TCPHandler: Code: 384. DB::Exception: Part 2_11_11_0 has already been assigned a merge into 2_8_13_1. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:34.801679 [ 50451 ] {4fce112b-9f07-4468-9412-2d6b0f998d75} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44104) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_3 MOVE PARTITION 6 TO TABLE dst_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:34.803265 [ 50451 ] {4fce112b-9f07-4468-9412-2d6b0f998d75} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:36.554252 [ 865 ] {} test_pzw6f70l.dst_14 (6981ae5b-7429-4c0a-b7d6-10add0b83473): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.576482 [ 862 ] {} test_pzw6f70l.dst_10 (7baa3ad9-cd46-4ed3-b851-73847205419d): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.584152 [ 876 ] {} test_pzw6f70l.dst_0 (e1b2d681-e1e7-4bc1-be20-ba397c3d3a75): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.587211 [ 869 ] {} test_pzw6f70l.dst_5 (ee1e1f21-07aa-463c-b591-0a93e7812e47): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.621213 [ 874 ] {} test_pzw6f70l.dst_3 (82239bba-1578-4a8c-a0e3-d818c6ee62f0): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.636768 [ 870 ] {} test_pzw6f70l.dst_7 (2f089603-b162-4de7-ba9a-127995e9f390): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.672849 [ 873 ] {} test_pzw6f70l.dst_2 (1f6b1c17-5833-4800-93af-b603e51d9ba1): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.679668 [ 864 ] {} test_pzw6f70l.dst_11 (679e8f4c-0ab0-4763-9e55-a91bb0ac5dc3): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.695481 [ 872 ] {} test_pzw6f70l.dst_6 (f18179b2-eea5-4f5a-87f7-e627f98abf55): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:36.857006 [ 876 ] {} test_pzw6f70l.dst_9 (f63a2d63-ce8f-448f-9c64-ec643c46d48c): Do not enqueue part 3_6_11_1 for check because it's covered by drop range 3_0_11_999999999_999999999 and going to be removed 2024.03.06 02:24:37.392721 [ 50454 ] {c12f0b2a-2e69-4bf5-8760-bbe647858ee5} executeQuery: Code: 232. DB::Exception: No part 6_9_9_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44190) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_9 DROP PART '6_9_9_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:37.394497 [ 50454 ] {c12f0b2a-2e69-4bf5-8760-bbe647858ee5} TCPHandler: Code: 232. DB::Exception: No part 6_9_9_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:38.641402 [ 892 ] {} test_pzw6f70l.dst_14 (6981ae5b-7429-4c0a-b7d6-10add0b83473): Do not enqueue part 3_13_13_0 for check because it's covered by drop range 3_0_13_999999999_999999999 and going to be removed 2024.03.06 02:24:40.227216 [ 50451 ] {61a915b8-2e81-4340-a314-d05daaf943ed} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44284) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_3 MOVE PARTITION 6 TO TABLE dst_9), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:40.228899 [ 50451 ] {61a915b8-2e81-4340-a314-d05daaf943ed} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:40.958447 [ 47662 ] {c8ae01b6-2789-4e8d-a429-95688daf0087} executeQuery: Code: 384. DB::Exception: Part 5_4_16_2 has already been assigned a merge into 5_4_21_3. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44304) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_3 DROP PART '5_4_16_2'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:40.960428 [ 47662 ] {c8ae01b6-2789-4e8d-a429-95688daf0087} TCPHandler: Code: 384. DB::Exception: Part 5_4_16_2 has already been assigned a merge into 5_4_21_3. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:44.577663 [ 50454 ] {c50a4cdd-7df0-424e-a6f2-e03ad28fbc97} executeQuery: Code: 232. DB::Exception: No part 9_12_12_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53692) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_11 DROP PART '9_12_12_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:44.579658 [ 50454 ] {c50a4cdd-7df0-424e-a6f2-e03ad28fbc97} TCPHandler: Code: 232. DB::Exception: No part 9_12_12_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:44.829158 [ 50440 ] {bd8f24d7-6b57-4519-9ed5-465002591084} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53718) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 7 TO TABLE dst_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:44.830703 [ 50440 ] {bd8f24d7-6b57-4519-9ed5-465002591084} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:51.353667 [ 50442 ] {b15596fa-94dc-4d7f-8e5c-6f2a996acf3d} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60892) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 3 TO TABLE dst_15), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:51.355375 [ 50442 ] {b15596fa-94dc-4d7f-8e5c-6f2a996acf3d} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:52.331032 [ 50444 ] {bac674dd-c9e1-4ae5-a2a1-0532710e2136} executeQuery: Code: 232. DB::Exception: No part 2_27_27_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60914) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_12 DROP PART '2_27_27_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:52.332915 [ 50444 ] {bac674dd-c9e1-4ae5-a2a1-0532710e2136} TCPHandler: Code: 232. DB::Exception: No part 2_27_27_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:52.812412 [ 50445 ] {0735d54d-3c02-4834-9eda-a161c0e5cc9c} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:60936) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_6 MOVE PARTITION 8 TO TABLE dst_9), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:52.814347 [ 50445 ] {0735d54d-3c02-4834-9eda-a161c0e5cc9c} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_6 (bf098bf8-e8b9-4bdb-85e0-8141c7e04abf) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:24:54.063926 [ 868 ] {} test_pzw6f70l.dst_4 (ebe35e2f-6385-4ff6-aa5f-27bc0181a6c8): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.096619 [ 863 ] {} test_pzw6f70l.dst_14 (6981ae5b-7429-4c0a-b7d6-10add0b83473): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.177048 [ 869 ] {} test_pzw6f70l.dst_10 (7baa3ad9-cd46-4ed3-b851-73847205419d): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.202053 [ 877 ] {} test_pzw6f70l.dst_7 (2f089603-b162-4de7-ba9a-127995e9f390): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.212725 [ 872 ] {} test_pzw6f70l.dst_1 (e40a4ca2-e58c-44d5-8d80-650c3e975e47): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.223492 [ 876 ] {} test_pzw6f70l.dst_5 (ee1e1f21-07aa-463c-b591-0a93e7812e47): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.236096 [ 867 ] {} test_pzw6f70l.dst_11 (679e8f4c-0ab0-4763-9e55-a91bb0ac5dc3): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.236663 [ 874 ] {} test_pzw6f70l.dst_13 (eb884ac0-f43c-4623-bdf2-e17571ffa084): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.299869 [ 865 ] {} test_pzw6f70l.dst_2 (1f6b1c17-5833-4800-93af-b603e51d9ba1): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.338078 [ 866 ] {} test_pzw6f70l.dst_8 (602c198f-2a6b-49fa-8ce1-2de37bb362af): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.351421 [ 871 ] {} test_pzw6f70l.dst_15 (391d0bd7-7994-4ce1-abdc-86d742a92abe): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.412087 [ 868 ] {} test_pzw6f70l.dst_9 (f63a2d63-ce8f-448f-9c64-ec643c46d48c): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.502401 [ 873 ] {} test_pzw6f70l.dst_3 (82239bba-1578-4a8c-a0e3-d818c6ee62f0): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:24:54.549332 [ 875 ] {} test_pzw6f70l.dst_6 (f18179b2-eea5-4f5a-87f7-e627f98abf55): Do not enqueue part 1_16_24_2 for check because it's covered by drop range 1_0_24_999999999_999999999 and going to be removed 2024.03.06 02:25:02.557892 [ 50441 ] {eeeb0ef5-807e-4e97-80f8-1a5c4185be7c} executeQuery: Code: 232. DB::Exception: No part 5_28_28_0 in committed state. (NO_SUCH_DATA_PART) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53184) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_3 DROP PART '5_28_28_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:02.559570 [ 50441 ] {eeeb0ef5-807e-4e97-80f8-1a5c4185be7c} TCPHandler: Code: 232. DB::Exception: No part 5_28_28_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4653: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x2c188c55 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4807: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aa50 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:02.629154 [ 50441 ] {9be91789-281f-4158-a240-1ed3445e3d2e} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_0 (be64511d-8bf6-4ec3-abe1-8c75d4505481) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53186) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 9 TO TABLE dst_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:02.632043 [ 50441 ] {9be91789-281f-4158-a240-1ed3445e3d2e} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_0 (be64511d-8bf6-4ec3-abe1-8c75d4505481) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:04.944683 [ 50452 ] {1c3e49be-0c76-4ff8-9905-151df30c09e0} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53286) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 5 TO TABLE dst_10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:04.946242 [ 50452 ] {1c3e49be-0c76-4ff8-9905-151df30c09e0} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_15 (0aa6ad6a-1700-44aa-9781-24ea8c9c8ff4) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:06.817050 [ 50440 ] {f87e9ee5-8bf4-4ee3-bee7-66d75dcda93a} executeQuery: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53356) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_3 MOVE PARTITION 0 TO TABLE dst_15), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:06.819292 [ 50440 ] {f87e9ee5-8bf4-4ee3-bee7-66d75dcda93a} TCPHandler: Code: 48. DB::Exception: Table test_pzw6f70l.src_3 (530cdd00-fc75-4759-baef-42b3c5d25a7e) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1924: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x2c60f385 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4849: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b1b5 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:06.945254 [ 50452 ] {c0684b14-f232-4fdb-bf0c-b8ce78724e64} executeQuery: Code: 384. DB::Exception: Part 7_28_28_0 has already been assigned a merge into 7_21_31_2. (PART_IS_TEMPORARILY_LOCKED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53326) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_3 DROP PART '7_28_28_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:06.946854 [ 50452 ] {c0684b14-f232-4fdb-bf0c-b8ce78724e64} TCPHandler: Code: 384. DB::Exception: Part 7_28_28_0 has already been assigned a merge into 7_21_31_2. (PART_IS_TEMPORARILY_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:7674: DB::StorageReplicatedMergeTree::dropPartImpl(std::shared_ptr&, String, DB::ReplicatedMergeTreeLogEntry&, bool, bool) @ 0x2bac530c in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5469: DB::StorageReplicatedMergeTree::dropPart(String const&, bool, std::shared_ptr) @ 0x2bac725b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4808: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18aaa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:07.088323 [ 862 ] {} test_pzw6f70l.dst_14 (6981ae5b-7429-4c0a-b7d6-10add0b83473): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.113658 [ 870 ] {} test_pzw6f70l.dst_5 (ee1e1f21-07aa-463c-b591-0a93e7812e47): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.130596 [ 866 ] {} test_pzw6f70l.dst_10 (7baa3ad9-cd46-4ed3-b851-73847205419d): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.160866 [ 727 ] {} test_pzw6f70l.dst_2 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_21_31_2 and a merge is impossible: we didn't find a smaller part with the same min block. 2024.03.06 02:25:07.161022 [ 727 ] {} test_pzw6f70l.dst_2 (ReplicatedMergeTreePartCheckThread): Part 7_21_31_2 found in queue and some source parts for it was lost. Will check all source parts. 2024.03.06 02:25:07.179238 [ 868 ] {} test_pzw6f70l.dst_4 (ebe35e2f-6385-4ff6-aa5f-27bc0181a6c8): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.202202 [ 778 ] {} test_pzw6f70l.dst_3 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_21_31_2 and a merge is impossible: we didn't find a smaller part with the same min block. 2024.03.06 02:25:07.202373 [ 778 ] {} test_pzw6f70l.dst_3 (ReplicatedMergeTreePartCheckThread): Part 7_21_31_2 found in queue and some source parts for it was lost. Will check all source parts. 2024.03.06 02:25:07.214729 [ 767 ] {} test_pzw6f70l.dst_8 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_21_31_2 and a merge is impossible: we didn't find a smaller part with the same min block. 2024.03.06 02:25:07.214887 [ 767 ] {} test_pzw6f70l.dst_8 (ReplicatedMergeTreePartCheckThread): Part 7_21_31_2 found in queue and some source parts for it was lost. Will check all source parts. 2024.03.06 02:25:07.263805 [ 686 ] {} test_pzw6f70l.dst_13 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_21_31_2 and a merge is impossible: we didn't find a smaller part with the same min block. 2024.03.06 02:25:07.264028 [ 686 ] {} test_pzw6f70l.dst_13 (ReplicatedMergeTreePartCheckThread): Part 7_21_31_2 found in queue and some source parts for it was lost. Will check all source parts. 2024.03.06 02:25:07.287735 [ 865 ] {} test_pzw6f70l.dst_2 (1f6b1c17-5833-4800-93af-b603e51d9ba1): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.289098 [ 871 ] {} test_pzw6f70l.dst_1 (e40a4ca2-e58c-44d5-8d80-650c3e975e47): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.305637 [ 877 ] {} test_pzw6f70l.dst_11 (679e8f4c-0ab0-4763-9e55-a91bb0ac5dc3): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.336487 [ 869 ] {} test_pzw6f70l.dst_15 (391d0bd7-7994-4ce1-abdc-86d742a92abe): Do not enqueue part 7_21_31_2 for check because it's covered by drop range 7_0_31_999999999_999999999 and going to be removed 2024.03.06 02:25:07.405449 [ 677 ] {} test_pzw6f70l.dst_2 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_31_31_0 and a merge is impossible: we didn't find smaller parts with either the same min block or the same max block. 2024.03.06 02:25:07.438628 [ 675 ] {} test_pzw6f70l.dst_3 (ReplicatedMergeTreePartCheckThread): No replica has part covering 7_31_31_0 and a merge is impossible: we didn't find smaller parts with either the same min block or the same max block. 2024.03.06 02:25:07.443906 [ 50453 ] {9326eb9f-afe4-4d3f-8502-c4550fbdc573} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:53340). (NETWORK_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:53340) (comment: 01154_move_partition_long.sh) (in query: INSERT INTO src_14 SELECT * FROM generateRandom('p UInt64, k UInt64, v UInt64') LIMIT 26), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c83d239 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c839694 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c830762 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:07.445447 [ 50453 ] {9326eb9f-afe4-4d3f-8502-c4550fbdc573} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:53340). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1991: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x2c8428f5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2068: DB::TCPHandler::sendLogs() @ 0x2c83989f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:598: DB::TCPHandler::runImpl() @ 0x2c831b68 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:25:07.446091 [ 50453 ] {9326eb9f-afe4-4d3f-8502-c4550fbdc573} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:53340). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:25: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x2ac22948 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:78: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x2ac221c4 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:49: DB::WriteBuffer::next() @ 0x197ad2b7 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1066: DB::TCPHandler::sendProfileEvents() @ 0x2c83d239 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1076: DB::TCPHandler::sendSelectProfileEvents() @ 0x2c839694 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:482: DB::TCPHandler::runImpl() @ 0x2c830762 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:25:07.446680 [ 50453 ] {9326eb9f-afe4-4d3f-8502-c4550fbdc573} TCPHandler: Client has gone away. 2024.03.06 02:25:07.448996 [ 677 ] {} test_pzw6f70l.dst_2 (1f6b1c17-5833-4800-93af-b603e51d9ba1): Will not create empty part instead of lost 7_31_31_0, because it's going to be removed (by range 7_0_31_999999999_999999999) 2024.03.06 02:25:07.449372 [ 677 ] {} test_pzw6f70l.dst_2 (ReplicatedMergeTreePartCheckThread): Cannot create empty part 7_31_31_0 instead of lost. Will retry later 2024.03.06 02:25:07.475633 [ 675 ] {} test_pzw6f70l.dst_3 (82239bba-1578-4a8c-a0e3-d818c6ee62f0): Will not create empty part instead of lost 7_31_31_0, because it's going to be removed (by range 7_0_31_999999999_999999999) 2024.03.06 02:25:07.476307 [ 675 ] {} test_pzw6f70l.dst_3 (ReplicatedMergeTreePartCheckThread): Cannot create empty part 7_31_31_0 instead of lost. Will retry later 2024.03.06 02:26:13.900067 [ 50451 ] {d88a0aa1-127a-48d5-951a-2778bfb2c5f3} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv ; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.06 02:26:14.129285 [ 50451 ] {a1651bfa-e570-450d-9257-e3e03175c89b} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.06 02:26:14.328736 [ 50451 ] {bdb62000-fbb2-4bda-805e-b724b902e2e8} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.03.06 02:26:14.331497 [ 50451 ] {bdb62000-fbb2-4bda-805e-b724b902e2e8} executeQuery: Code: 36. DB::Exception: Materialized view test_vi43jbxm.mv cannot point to itself. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50016) (comment: 01153_attach_mv_uuid.sql) (in query: ATTACH MATERIALIZED VIEW mv UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' TO INNER UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' (n Int32, n2 Int64) ENGINE = MergeTree PARTITION BY n % 10 ORDER BY n AS SELECT n, n * n AS n2 FROM src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e36ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 02:26:14.333117 [ 50451 ] {bdb62000-fbb2-4bda-805e-b724b902e2e8} TCPHandler: Code: 36. DB::Exception: Materialized view test_vi43jbxm.mv cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x2b9e36ff in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e935a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e90cd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8d99 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8bee in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x2b9e8b54 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:469: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b9e7e2d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7dbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x2b9e7d5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x2b9e7d1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x2b9e7ce5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 2024.03.06 02:26:15.773551 [ 50451 ] {3a6ad03e-1852-4bac-9b44-fe54e10fb782} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50022) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE rmt (n UInt64, s String) ENGINE = ReplicatedMergeTree('{default_path_test}{uuid}', '{default_name_test}') ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea5e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:15.774727 [ 50451 ] {3a6ad03e-1852-4bac-9b44-fe54e10fb782} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea5e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:15.941454 [ 50451 ] {9a2afb38-9829-40ec-b4de-73c0952ad897} executeQuery: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50022) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE rmt TO rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [301]) @ 0x2bb2a63e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5596: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2bac9782 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bcebce in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ae047ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ae03279 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:15.942483 [ 50451 ] {9a2afb38-9829-40ec-b4de-73c0952ad897} TCPHandler: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [301]) @ 0x2bb2a63e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5596: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2bac9782 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bcebce in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ae047ac in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ae03279 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:16.325278 [ 50451 ] {dc886dcb-d23e-4ac4-a21e-8f4e311c9c7f} executeQuery: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50022) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE test_01148_atomic.rmt3 AS test_01148_atomic.rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea5e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:16.326784 [ 50451 ] {dc886dcb-d23e-4ac4-a21e-8f4e311c9c7f} TCPHandler: Code: 62. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [126]) @ 0x19744dfe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:102: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x221efce4 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:352: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x2c5ee136 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:396: DB::create(DB::StorageFactory::Arguments const&) @ 0x2c5ea5e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f7d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x28ff9f3d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x28ff9efd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x28ff9ec5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x2b97039e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x2b96ec7d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x2b96d386 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1422: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd4f9f in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 28. ? @ 0x7f624fd9f609 in ? 29. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:16.767047 [ 50451 ] {a3fd5e57-1cba-48c1-b36a-cbc47a9bf865} executeQuery: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:50022) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE test_01148_atomic.rmt3 to test_01148_ordinary.rmt3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [220]) @ 0x2bb2a71e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5605: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2bac98e5 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5613: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x2bac99ba in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:427: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bbfbd7 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bce634 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ae047ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ae03279 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:16.768044 [ 50451 ] {a3fd5e57-1cba-48c1-b36a-cbc47a9bf865} TCPHandler: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [220]) @ 0x2bb2a71e in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5605: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x2bac98e5 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5613: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x2bac99ba in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:427: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bbfbd7 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x29bce634 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:139: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x2ae047ac in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x2ae03279 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 21. ? @ 0x7f624fd9f609 in ? 22. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:17.167392 [ 50451 ] {8143d787-53c0-4115-b3f4-7607a97538cb} DatabaseReplicated (imdb_01148): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2024.03.06 02:26:21.893210 [ 1455 ] {ddfa2f23-7af1-48cd-b734-c1631b87c369} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48064) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_9ac0fb28-2db3-4681-ae25-03394a233697`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0038fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:21.894289 [ 1455 ] {ddfa2f23-7af1-48cd-b734-c1631b87c369} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0038fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:26:21.929048 [ 1455 ] {75872631-d652-47ba-9fd7-9a56b9992a67} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:48066) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_9ac0fb28-2db3-4681-ae25-03394a233697`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0038fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:26:21.929876 [ 1455 ] {75872631-d652-47ba-9fd7-9a56b9992a67} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x197ef073 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:327: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a0038fa in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:27:18.018803 [ 683 ] {} test_bq6f0fut.concurrent_alter_detach_2 (dcdf5e44-e92d-46af-9703-90e09ddcaec3): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_bq6f0fut/concurrent_alter_detach/replicas/2). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::assertNotReadonly() const @ 0x2ba4cb6b in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:234: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x2ba4ca6e in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:2991: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x2baa6902 in /usr/bin/clickhouse 9. /build/src/Storages/StorageReplicatedMergeTree.cpp:308: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3::operator()() const @ 0x2bb14c78 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>()()) std::__invoke[abi:v15000], String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&) @ 0x2bb14c55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&) @ 0x2bb14c35 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>::operator()[abi:v15000]() @ 0x2bb14c15 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x2bb14bdd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 16. /build/src/Core/BackgroundSchedulePool.cpp:100: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x2956ec1d in /usr/bin/clickhouse 17. /build/src/Core/BackgroundSchedulePool.cpp:282: DB::BackgroundSchedulePool::threadFunction() @ 0x29571406 in /usr/bin/clickhouse 18. /build/src/Core/BackgroundSchedulePool.cpp:161: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1::operator()() const @ 0x29572478 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_1&>()()) std::__invoke[abi:v15000], StrongTypedef, char const*)::$_1&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&) @ 0x29572455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x29572439 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&, std::tuple<>&) @ 0x2957239d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()::operator()() @ 0x295722c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&) @ 0x29572235 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&) @ 0x29572215 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x295721f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x295721c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:27:19.309525 [ 50447 ] {217a9a17-f7ef-4d88-a8ff-a4b3c19c54b3} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34142) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_detach_2 MODIFY COLUMN value1 UInt32 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:19.311973 [ 50447 ] {217a9a17-f7ef-4d88-a8ff-a4b3c19c54b3} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:19.585313 [ 50447 ] {9ed96e10-cabb-4a3f-b8c0-aefa18152f66} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:34164) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:19.587214 [ 50447 ] {9ed96e10-cabb-4a3f-b8c0-aefa18152f66} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:21.403614 [ 50448 ] {c07fa138-0296-484e-ac79-2d7634574460} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46072) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:21.405863 [ 50448 ] {c07fa138-0296-484e-ac79-2d7634574460} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:22.498188 [ 50448 ] {ee09b438-78af-485a-9c9c-8a987c168ffb} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46084) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:22.500013 [ 50448 ] {ee09b438-78af-485a-9c9c-8a987c168ffb} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.105663 [ 691 ] {} test_bq6f0fut.concurrent_alter_detach_1 (c9e1163f-004e-400d-9eea-9f0925e84c48): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_bq6f0fut/concurrent_alter_detach/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:4681: DB::StorageReplicatedMergeTree::assertNotReadonly() const @ 0x2ba4cb6b in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:234: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x2ba4ca6e in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:2991: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x2baa6902 in /usr/bin/clickhouse 9. /build/src/Storages/StorageReplicatedMergeTree.cpp:308: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3::operator()() const @ 0x2bb14c78 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>()()) std::__invoke[abi:v15000], String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&) @ 0x2bb14c55 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3&) @ 0x2bb14c35 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>::operator()[abi:v15000]() @ 0x2bb14c15 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x2bb14bdd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 16. /build/src/Core/BackgroundSchedulePool.cpp:100: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x2956ec1d in /usr/bin/clickhouse 17. /build/src/Core/BackgroundSchedulePool.cpp:282: DB::BackgroundSchedulePool::threadFunction() @ 0x29571406 in /usr/bin/clickhouse 18. /build/src/Core/BackgroundSchedulePool.cpp:161: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1::operator()() const @ 0x29572478 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_1&>()()) std::__invoke[abi:v15000], StrongTypedef, char const*)::$_1&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&) @ 0x29572455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x29572439 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_1&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&, std::tuple<>&) @ 0x2957239d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()::operator()() @ 0x295722c0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&) @ 0x29572235 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'()&) @ 0x29572215 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x295721f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_1>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x295721c0 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl::worker(std::__list_iterator) @ 0x223340c9 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x2233b884 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&) @ 0x2233b835 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:27:24.214291 [ 51338 ] {d8c40ff5-27be-481d-94dd-9baa2948df01} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46154) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.215759 [ 51338 ] {d8c40ff5-27be-481d-94dd-9baa2948df01} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.262757 [ 51338 ] {11930c19-8333-447a-bebf-c7f7bd03c510} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46156) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.264191 [ 51338 ] {11930c19-8333-447a-bebf-c7f7bd03c510} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.313697 [ 51338 ] {f1595d24-2795-4705-be0a-8d55f06ec615} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46160) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_detach_1 MODIFY COLUMN value1 String SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:24.315252 [ 51338 ] {f1595d24-2795-4705-be0a-8d55f06ec615} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:94: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb1bc5 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:25.495569 [ 51338 ] {057ffb86-7548-4a49-af45-eed10909b5a9} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46188) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:25.498246 [ 51338 ] {057ffb86-7548-4a49-af45-eed10909b5a9} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:27.236751 [ 50452 ] {799cc93f-6627-438f-8548-85262376cfaf} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_bq6f0fut/concurrent_alter_detach/replicas/1. (TABLE_IS_READ_ONLY) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46252) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c5d1e8a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b697b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 02:27:27.240641 [ 50452 ] {799cc93f-6627-438f-8548-85262376cfaf} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_bq6f0fut/concurrent_alter_detach/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:683: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x2c5d1e8a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:53: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x2c5b697b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:676: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x2c5b6326 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:560: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x2c5a681a in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:539: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x2c5b43d8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x2ce3d982 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x2cce533c in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52f5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x2cce52d5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce52b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce527d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:151: DB::ExceptionKeepingTransform::work() @ 0x2cce46d1 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x2c8e735e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:798: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83aa90 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 2024.03.06 02:27:31.214709 [ 51338 ] {1f9b1681-ea62-4da8-88bf-67f5d148062a} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57794) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:31.216706 [ 51338 ] {1f9b1681-ea62-4da8-88bf-67f5d148062a} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:31.370373 [ 51338 ] {888dc80d-ee41-41da-aa54-3ba3359ae0fc} executeQuery: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57800) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_3 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:31.372359 [ 51338 ] {888dc80d-ee41-41da-aa54-3ba3359ae0fc} TCPHandler: Code: 60. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_3 doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:113: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x2adebc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:331: DB::InterpreterInsertQuery::execute() @ 0x2aded746 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:33.905912 [ 51338 ] {27fbcd1d-6131-4e60-a205-28b4dd8db616} executeQuery: Code: 57. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57802) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x269196e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd3d50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:33.907976 [ 51338 ] {27fbcd1d-6131-4e60-a205-28b4dd8db616} TCPHandler: Code: 57. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x269196e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd3d50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:35.262593 [ 51338 ] {2ef74793-2947-4f57-a0e7-52715ae55c91} executeQuery: Code: 57. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:57818) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x269196e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd3d50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:27:35.264519 [ 51338 ] {2ef74793-2947-4f57-a0e7-52715ae55c91} TCPHandler: Code: 57. DB::Exception: Table test_bq6f0fut.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x269196e8 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1347: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x2abd3d50 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1273: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abd102e in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:13.305812 [ 50091 ] {} ExternalDictionaries: Could not update cache dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)', next update is scheduled at 2024-03-06 02:28:18: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b3bcaac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a0bcd9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae22393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x26186870 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26904041 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:28:13.510035 [ 51338 ] {f5896f99-9586-4eac-8815-47f1f4457dda} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b3bcaac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a0bcd9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae22393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x26186870 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26904041 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44176) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:13.510211 [ 50447 ] {0bcb3660-f613-4d38-8f24-1fa1c5e8a14e} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44186) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:13.514346 [ 50447 ] {0bcb3660-f613-4d38-8f24-1fa1c5e8a14e} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:13.515127 [ 51338 ] {f5896f99-9586-4eac-8815-47f1f4457dda} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x2b3bcaac in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:502: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b0b6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:110: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&, DB::Field&) @ 0x2a1050cc in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:150: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x2a103de0 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:349: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x2a0f9387 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:458: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, bool, std::shared_ptr, DB::SizeLimits const&, DB::PreparedSets&) @ 0x2a0f88a4 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionAnalyzer.cpp:539: DB::SelectQueryExpressionAnalyzer::makeSetsForIndex(std::shared_ptr const&) @ 0x2a0bcd9c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:895: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae22393 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 24. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 25. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:127: DB::ClickHouseDictionarySource::loadIds(std::vector> const&) @ 0x26186870 in /usr/bin/clickhouse 26. /build/src/Dictionaries/CacheDictionary.cpp:582: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26904041 in /usr/bin/clickhouse 27. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:14.816584 [ 51338 ] {475262dc-253c-4714-9efa-f7c140192530} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44194) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:14.820107 [ 51338 ] {475262dc-253c-4714-9efa-f7c140192530} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:14.834261 [ 50447 ] {fe15eb10-c272-4ddd-8e81-e842a2cdb2f8} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44198) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:14.837874 [ 50447 ] {fe15eb10-c272-4ddd-8e81-e842a2cdb2f8} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:16.183123 [ 51338 ] {845c5ff1-7726-419d-8b78-4010a9d4d23f} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44206) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:16.186135 [ 51338 ] {845c5ff1-7726-419d-8b78-4010a9d4d23f} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:16.274805 [ 51338 ] {26d15539-1891-47a2-ac3e-c9c1c715ebc0} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:44222) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:16.278463 [ 51338 ] {26d15539-1891-47a2-ac3e-c9c1c715ebc0} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (d97968e3-5253-4b9e-99c9-fb8355c5a8c7) now, because nearest update is scheduled at 2024-03-06 02:28:18. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:687: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x26906387 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x26913a3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x269139f6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x2691399d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x2691395d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x26913905 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x26920e3e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x26919ee1 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x26919ce0 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x2691da78 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da55 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x2691da35 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x2691da15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x2691d9dd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:396: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x223374a9 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:180: void ThreadPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()::operator()() const @ 0x22341344 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&>(void&&) @ 0x22341315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x223412f9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x2234125d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:227: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x22341160 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x223410d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x223410b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x22341095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, long, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x22341060 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x26919add in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x269005b0 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x268ffb0c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:587: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x1a1bbae4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:552: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1b969a in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:700: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1d5e6b in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 2024.03.06 02:28:24.298788 [ 51338 ] {aac43b97-07c0-4ff5-9785-4912cbaa4805} executeQuery: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:36812) (comment: 01071_prohibition_secondary_index_with_old_format_merge_tree.sql) (in query: ALTER TABLE old_syntax_01071_test ADD INDEX id_minmax id TYPE minmax GRANULARITY 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a0d16be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3032: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16dc86 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:24.299785 [ 51338 ] {aac43b97-07c0-4ff5-9785-4912cbaa4805} TCPHandler: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [64]) @ 0x1a0d16be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3032: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16dc86 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:36.281795 [ 51338 ] {73c729c0-1cdf-4303-a8e8-84955c8ff91b} executeQuery: Code: 60. DB::Exception: Table memory_01069.mt doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40754) (comment: 01069_database_memory.sql) (in query: SELECT * FROM memory_01069.mt ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:36.283247 [ 51338 ] {73c729c0-1cdf-4303-a8e8-84955c8ff91b} TCPHandler: Code: 60. DB::Exception: Table memory_01069.mt doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:36.404817 [ 51338 ] {25bbcf91-6183-4c30-a4a4-ec379c805315} executeQuery: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:40754) (comment: 01069_database_memory.sql) (in query: SHOW CREATE TABLE memory_01069.mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x19f9d40c in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x29bb1f7c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:271: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x294819d7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:60: DB::InterpreterShowCreateQuery::executeImpl() @ 0x2af09cb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:28: DB::InterpreterShowCreateQuery::execute() @ 0x2af097ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:36.405963 [ 51338 ] {25bbcf91-6183-4c30-a4a4-ec379c805315} TCPHandler: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x19f9d40c in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x29bb1f7c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:271: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x294819d7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:60: DB::InterpreterShowCreateQuery::executeImpl() @ 0x2af09cb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:28: DB::InterpreterShowCreateQuery::execute() @ 0x2af097ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:51.101784 [ 51338 ] {07fc1eca-9d02-480b-846d-c13bcc7ed989} test_is1niu4u.mt_compact (95a0b914-79a1-4422-9177-8f9d42198561): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 02:28:51.213434 [ 51338 ] {b5282223-8880-41cf-a6aa-9095a33ca296} executeQuery: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38790) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact modify setting min_rows_for_wide_part = 1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3195: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16fa68 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:51.214580 [ 51338 ] {b5282223-8880-41cf-a6aa-9095a33ca296} TCPHandler: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3195: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16fa68 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:51.267696 [ 51338 ] {74ce14c8-aae4-4d49-b162-72f493234a9b} executeQuery: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38790) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact attach partition 1 from mt_compact_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2231b0ec in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e463 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:51.268473 [ 51338 ] {74ce14c8-aae4-4d49-b162-72f493234a9b} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x2231b0ec in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1854: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x2c60e463 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4881: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x2c18b81a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:156: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2c30 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:51.306036 [ 51338 ] {0d759745-5b11-4bdc-84d4-3fcc9f7d1ab6} test_is1niu4u.mt_compact (f0a8b751-e8e4-4615-b4b4-49035f30cb04): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760, min_rows_for_compact_part = 0, min_bytes_for_compact_part = 0. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part', 'min_bytes_for_wide_part', 'min_rows_for_compact_part' and 'min_bytes_for_compact_part' will be ignored. 2024.03.06 02:28:58.255210 [ 51338 ] {8788b8a9-f841-49ee-a827-34f583a15b92} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.256348 [ 51338 ] {8788b8a9-f841-49ee-a827-34f583a15b92} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.327810 [ 51338 ] {551ce24d-e453-473c-b1fb-e538b6f030ac} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.329024 [ 51338 ] {551ce24d-e453-473c-b1fb-e538b6f030ac} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.563685 [ 51338 ] {d9b09f1c-7f04-4cd3-91b5-3a8dde6537a9} executeQuery: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8('database_for_dict.dict1', 'second_column', tuple(toUInt64(11), '121'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.564965 [ 51338 ] {d9b09f1c-7f04-4cd3-91b5-3a8dde6537a9} TCPHandler: Code: 36. DB::Exception: Dictionary (`database_for_dict.dict1`) not found: While processing dictGetUInt8('database_for_dict.dict1', 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1cb4c8 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.959329 [ 51338 ] {62a11ae8-2fd9-4c1c-9140-94788c163843} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetString(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1dcd88 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.960651 [ 51338 ] {62a11ae8-2fd9-4c1c-9140-94788c163843} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:692: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1a1dcd88 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:161: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x291247a3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:239: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124b03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x29dbdeb8 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbda33 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 2024.03.06 02:28:58.997017 [ 51338 ] {679911d0-f415-4b9c-97e7-c7b4b081a7d4} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGet(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 02:28:58.998075 [ 51338 ] {679911d0-f415-4b9c-97e7-c7b4b081a7d4} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x2a630db2 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x2a631240 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x1a1c0f38 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:351: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x1a1b9f4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:847: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1009f7 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:742: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb219 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1524: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x2a0c70d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2070: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x2a0cba8a in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:918: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x2ae2258e in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:751: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_4::operator()(bool) const @ 0x2ae1b9a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:754: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae16f1d in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 2024.03.06 02:28:59.173741 [ 50187 ] {7fb11395-fd7a-4b4d-98d0-0ce4cf173454} ExternalDictionariesLoader: Could not update external dictionary '46a66542-9488-491a-a10f-23736a9d496a', leaving the previous version: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x2618640a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x2631db28 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x2631d666 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x26839de6 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x2631c270 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2631b0b2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631afdb in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631aef6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631ae76 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x2631ae02 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:28:59.175736 [ 50189 ] {7fb11395-fd7a-4b4d-98d0-0ce4cf173454} ExternalDictionariesLoader: Could not update external dictionary '89625a46-9b02-4cef-b700-a7df0ec15766', leaving the previous version, next update is scheduled at 2024-03-06 02:29:05: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x2618640a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x2631db28 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x2631d666 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x26839de6 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x2631c270 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2631b0b2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631afdb in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631aef6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631ae76 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x2631ae02 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:28:59.177283 [ 51338 ] {7fb11395-fd7a-4b4d-98d0-0ce4cf173454} ExternalDictionariesLoader: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:174: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x26186531 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:116: DB::ClickHouseDictionarySource::loadAll() @ 0x2618640a in /usr/bin/clickhouse 20. /build/src/Dictionaries/HashedDictionary.cpp:904: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x2631db28 in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:206: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x2631d666 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x26839de6 in /usr/bin/clickhouse 23. /build/src/Dictionaries/HashedDictionary.cpp:1198: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x2631c270 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1223: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x2631b0b2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631afdb in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631aef6 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x2631ae76 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x2631ae02 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x29155e22 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x291531bb in /usr/bin/clickhouse 31. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x29152788 in /usr/bin/clickhouse (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:28:59.262763 [ 51338 ] {7fb11395-fd7a-4b4d-98d0-0ce4cf173454} executeQuery: Code: 60. DB::Exception: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38830) (comment: 01018_ddl_dictionaries_select.sql) (in query: SYSTEM RELOAD DICTIONARIES;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:136: void DB::(anonymous namespace)::executeCommandsAndThrowIfError(DB::InterpreterSystemQuery::execute()::$_0&&, DB::InterpreterSystemQuery::execute()::$_1&&) @ 0x2af145ad in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:411: DB::InterpreterSystemQuery::execute() @ 0x2af123e9 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:28:59.263640 [ 51338 ] {7fb11395-fd7a-4b4d-98d0-0ce4cf173454} TCPHandler: Code: 60. DB::Exception: Code: 60. DB::Exception: Table database_for_dict.table_for_dict doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:59: DB::Exception::Exception(String const&, int, bool) @ 0x1974316a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:67: DB::Exception::createDeprecated(String const&, int, bool) @ 0x19743115 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:136: void DB::(anonymous namespace)::executeCommandsAndThrowIfError(DB::InterpreterSystemQuery::execute()::$_0&&, DB::InterpreterSystemQuery::execute()::$_1&&) @ 0x2af145ad in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:411: DB::InterpreterSystemQuery::execute() @ 0x2af123e9 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:40.155192 [ 51338 ] {d1f3429d-7f3e-4103-9452-2944abf313c5} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5ddb5fb000, frame address: 0x7f5ddb9fae40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58330) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2ba0bfbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2ba140ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2ba13cc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 2024.03.06 02:29:40.156305 [ 51338 ] {d1f3429d-7f3e-4103-9452-2944abf313c5} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5ddb5fb000, frame address: 0x7f5ddb9fae40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2ba0bfbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2ba140ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2ba13cc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 2024.03.06 02:29:40.585627 [ 51338 ] {5bfd332c-eed6-491b-ba84-91b16f397254} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5ddb5fb000, frame address: 0x7f5ddb9fae40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:58330) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2ba0bfbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2ba140ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2ba13cc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 2024.03.06 02:29:40.586823 [ 51338 ] {5bfd332c-eed6-491b-ba84-91b16f397254} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f5ddb5fb000, frame address: 0x7f5ddb9fae40, stack size: 4194752, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x22255744 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:109: checkStackSize() @ 0x222554fc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:892: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x2ba0bfbc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:137: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_14&&) const @ 0x2ba140ca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1096: DB::StorageMerge::getVirtuals() const @ 0x2ba13cc8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1099: DB::StorageMerge::getVirtuals() const @ 0x2ba13d32 in /usr/bin/clickhouse 2024.03.06 02:29:41.793725 [ 51338 ] {5e6f4ffb-770b-47db-8d23-f161d2984ea4} executeQuery: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE log_for_alter MODIFY SETTING aaa=123;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [77]) @ 0x1a19dede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1225: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b890eea in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:41.794651 [ 51338 ] {5e6f4ffb-770b-47db-8d23-f161d2984ea4} TCPHandler: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [77]) @ 0x1a19dede in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1225: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b890eea in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:41.918830 [ 51338 ] {26b0d681-325e-438d-b424-d62d861bc8bd} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f81d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:41.919887 [ 51338 ] {26b0d681-325e-438d-b424-d62d861bc8bd} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f81d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.142022 [ 51338 ] {aaa67537-29d7-494f-97b7-f0453aa62a17} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_px20is6q.table_for_alter (11b26fef-a4d8-46aa-8718-83fe5af81bfd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.143483 [ 51338 ] {aaa67537-29d7-494f-97b7-f0453aa62a17} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_px20is6q.table_for_alter (11b26fef-a4d8-46aa-8718-83fe5af81bfd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.188230 [ 51338 ] {698286af-9680-4ac9-a62d-f4622158217c} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_px20is6q.table_for_alter (11b26fef-a4d8-46aa-8718-83fe5af81bfd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.189820 [ 51338 ] {698286af-9680-4ac9-a62d-f4622158217c} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 171.00 B) in table 'test_px20is6q.table_for_alter (11b26fef-a4d8-46aa-8718-83fe5af81bfd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.315748 [ 51338 ] {796c34d9-b9ad-4f80-a682-ad637de2f08b} executeQuery: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING xxx_yyy=124;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x2957b7c7 in /usr/bin/clickhouse 7. ? @ 0x2938efb3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:198: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x2938e44b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:256: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c374 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:169: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x2938c307 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:173: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x2938c516 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1594: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29eff27e in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3174: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f5e4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.316827 [ 51338 ] {796c34d9-b9ad-4f80-a682-ad637de2f08b} TCPHandler: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x2957b7c7 in /usr/bin/clickhouse 7. ? @ 0x2938efb3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:198: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x2938e44b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:256: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x2938c374 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:169: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x2938c307 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:173: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x2938c516 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1594: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x29eff27e in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3174: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f5e4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 25. ? @ 0x7f624fd9f609 in ? 26. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.474405 [ 51338 ] {7dc0e3c1-81a4-4d17-a01b-7aaf2bf61f28} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f81d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.475330 [ 51338 ] {7dc0e3c1-81a4-4d17-a01b-7aaf2bf61f28} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3186: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16f81d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.556996 [ 51338 ] {0262583d-55ef-444b-ba3c-b14f1d4254a2} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 171.00 B) in table 'test_px20is6q.table_for_reset_setting (58beee07-c43d-458b-ab69-a1e96581112f)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_reset_setting VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.558692 [ 51338 ] {0262583d-55ef-444b-ba3c-b14f1d4254a2} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 171.00 B) in table 'test_px20is6q.table_for_reset_setting (58beee07-c43d-458b-ab69-a1e96581112f)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x2c635407 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:29:42.799494 [ 51338 ] {c073e425-8543-4fd0-adf5-3564b99b95b8} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting RESET SETTING index_granularity;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3210: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16fe7d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.800441 [ 51338 ] {c073e425-8543-4fd0-adf5-3564b99b95b8} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x1a652acc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3210: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16fe7d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.891883 [ 51338 ] {d3bda411-ce49-42bf-81c6-874ecd2a59cb} executeQuery: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:33470) (comment: 00980_merge_alter_settings.sql) (in query: -- don't execute alter with incorrect setting ALTER TABLE table_for_reset_setting RESET SETTING merge_with_ttl_timeout, unknown_setting;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3100: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e79c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:42.892942 [ 51338 ] {d3bda411-ce49-42bf-81c6-874ecd2a59cb} TCPHandler: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3100: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e79c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.386992 [ 51338 ] {eef8f06b-0603-4d1f-b54c-ddfa2fb4c69c} executeQuery: Code: 182. DB::Exception: Storage SystemNumbers (table system.numbers (e1816e9a-528d-4a50-bf56-4a30dbb43ea9)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51154) (comment: 00973_live_view_select_prewhere.sql) (in query: CREATE LIVE VIEW lv2 AS SELECT sum(number) AS sum_number FROM system.numbers PREWHERE number > 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:212: DB::InterpreterSelectQueryAnalyzer::getSampleBlock() @ 0x2aea9dec in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:196: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea9d5d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:739: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc99e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.388596 [ 51338 ] {eef8f06b-0603-4d1f-b54c-ddfa2fb4c69c} TCPHandler: Code: 182. DB::Exception: Storage SystemNumbers (table system.numbers (e1816e9a-528d-4a50-bf56-4a30dbb43ea9)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:212: DB::InterpreterSelectQueryAnalyzer::getSampleBlock() @ 0x2aea9dec in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:196: DB::InterpreterSelectQueryAnalyzer::getSampleBlock(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x2aea9d5d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:739: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc99e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.593644 [ 51338 ] {d491ff1a-ef79-4e8d-b00e-c3cfab64326a} executeQuery: Code: 182. DB::Exception: Storage LiveView (table test_ajlfgz5e.lv (5c729bfb-e4da-44a1-b024-3797f9a02852)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51154) (comment: 00973_live_view_select_prewhere.sql) (in query: SELECT *, _version FROM lv PREWHERE sum_a > 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.594837 [ 51338 ] {d491ff1a-ef79-4e8d-b00e-c3cfab64326a} TCPHandler: Code: 182. DB::Exception: Storage LiveView (table test_ajlfgz5e.lv (5c729bfb-e4da-44a1-b024-3797f9a02852)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.684112 [ 51338 ] {09c9e640-d61e-4634-87df-589ca39fb8cc} executeQuery: Code: 182. DB::Exception: Storage LiveView (table test_ajlfgz5e.lv (5c729bfb-e4da-44a1-b024-3797f9a02852)) does not support PREWHERE. (ILLEGAL_PREWHERE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:51154) (comment: 00973_live_view_select_prewhere.sql) (in query: SELECT *, _version FROM lv PREWHERE sum_a > 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:29:54.685173 [ 51338 ] {09c9e640-d61e-4634-87df-589ca39fb8cc} TCPHandler: Code: 182. DB::Exception: Storage LiveView (table test_ajlfgz5e.lv (5c729bfb-e4da-44a1-b024-3797f9a02852)) does not support PREWHERE. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Planner/CollectTableExpressionData.cpp:138: DB::(anonymous namespace)::CollectPrewhereTableExpressionVisitor::visitImpl(std::shared_ptr const&) @ 0x2aec60d5 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:60: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bb6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 10. /build/src/Analyzer/InDepthQueryTreeVisitor.h:85: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x2aec591f in /usr/bin/clickhouse 11. /build/src/Analyzer/InDepthQueryTreeVisitor.h:62: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x2aec4bd3 in /usr/bin/clickhouse 12. /build/src/Planner/CollectTableExpressionData.cpp:234: DB::collectTableExpressionData(std::shared_ptr&, std::shared_ptr&) @ 0x2aec444d in /usr/bin/clickhouse 13. /build/src/Planner/Planner.cpp:1131: DB::Planner::buildPlanForQueryNode() @ 0x2aead598 in /usr/bin/clickhouse 14. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x2aeac108 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:243: DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() @ 0x2aeaa15f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:218: DB::InterpreterSelectQueryAnalyzer::execute() @ 0x2aea9f3b in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:42.079706 [ 8842 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x31e73707 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x31e77847 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x31c92267 in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:991: Poco::Net::SocketImpl::error(int, String const&) @ 0x31ca1bcb in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:910: Poco::Net::SocketImpl::error() @ 0x31ca0569 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::peerAddress() @ 0x31ca445e in /usr/bin/clickhouse 9. /build/base/poco/Net/include/Poco/Net/Socket.h:596: Poco::Net::Socket::peerAddress() const @ 0x222f2468 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x31c80bb0 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerRequest.cpp:34: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x2c851e71 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:33: DB::HTTPServerConnection::run() @ 0x2c850ec6 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:30:45.617443 [ 51338 ] {64442c9c-a130-43bf-95d7-734f27357fa0} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42576) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify ttl a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x2bc70076 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc6fc5c in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc7054c in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:612: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88ad58 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:45.618498 [ 51338 ] {64442c9c-a130-43bf-95d7-734f27357fa0} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x2bc70076 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc6fc5c in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x2bc7054c in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:612: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88ad58 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:928: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d405 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:45.804898 [ 51338 ] {6b3b89fb-2662-4283-a98a-914e3fca4d95} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42576) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d Int ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f01cf1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f0053f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b8f0a05 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b8f0546 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:944: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d62f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 02:30:45.806247 [ 51338 ] {6b3b89fb-2662-4283-a98a-914e3fca4d95} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x19742d8c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x20f01cf1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:59: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x20f0053f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:127: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x1973cd10 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:481: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x291276c7 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:427: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x29127108 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:442: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x29127721 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x29dbd966 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:681: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a0facd6 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:184: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x2a106cfd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1316: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a1001ef in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:738: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x2a0fb1ad in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x2a0f0f00 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x2a0f10e1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x2a0f0e8a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x2a0d02c5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:563: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x2a0bd0de in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1757: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x2a0c8ed8 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1790: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x2a0c9243 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x2b8f0a05 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x2b8f0546 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:944: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x2b88d62f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:2905: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16c5cc in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 2024.03.06 02:30:45.899849 [ 51338 ] {7cdd02a5-1429-4718-831e-8d3454b414af} executeQuery: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42576) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d DateTime ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3110: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e963 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:45.900875 [ 51338 ] {7cdd02a5-1429-4718-831e-8d3454b414af} TCPHandler: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3110: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x2c16e963 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:182: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb306a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 18. ? @ 0x7f624fd9f609 in ? 19. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.515065 [ 51338 ] {7fdd24da-c6cc-4bfb-bd5d-71fe0d4f01e5} executeQuery: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE bad_codec(id UInt64 CODEC(adssadads)) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.516285 [ 51338 ] {7fdd24da-c6cc-4bfb-bd5d-71fe0d4f01e5} TCPHandler: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.637033 [ 51338 ] {37330b24-f4b6-403b-980d-d1bcfe4407db} executeQuery: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE too_many_params(id UInt64 CODEC(ZSTD(2,3,4,5))) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x29903633 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2990351d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x299034dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2990349d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x29903465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 2024.03.06 02:30:47.638747 [ 51338 ] {37330b24-f4b6-403b-980d-d1bcfe4407db} TCPHandler: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x1c025313 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x29903633 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2990351d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x299034dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2990349d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x29903465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 2024.03.06 02:30:47.760374 [ 51338 ] {8787e2d1-2bc3-48de-b3b6-5bc66def7bfd} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE params_when_no_params(id UInt64 CODEC(LZ4(1))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1::operator()(std::shared_ptr const&) const @ 0x298f5508 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_1&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x298f545d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x298f541d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x298f53dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x298f53a8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 2024.03.06 02:30:47.761861 [ 51338 ] {8787e2d1-2bc3-48de-b3b6-5bc66def7bfd} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1::operator()(std::shared_ptr const&) const @ 0x298f5508 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_1&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x298f545d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_1&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_1&, std::shared_ptr const&) @ 0x298f541d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x298f53dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_1, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x298f53a8 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 2024.03.06 02:30:47.772183 [ 51338 ] {cfb3e158-07c7-4143-acf4-3376c849b513} executeQuery: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_1(id UInt64 CODEC(MULTIPLE(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.773236 [ 51338 ] {cfb3e158-07c7-4143-acf4-3376c849b513} TCPHandler: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.781411 [ 51338 ] {81e0d9be-b0ee-4c24-9d10-c37efd34a6cd} executeQuery: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_2(id UInt64 CODEC(multiple(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.782563 [ 51338 ] {81e0d9be-b0ee-4c24-9d10-c37efd34a6cd} TCPHandler: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 30. ? @ 0x7f624fd9f609 in ? 31. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:47.898449 [ 51338 ] {afa506b9-b390-4153-9031-69b7adc62ad9} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params1(id UInt64 CODEC(Delta(3))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x299091b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:30:47.900009 [ 51338 ] {afa506b9-b390-4153-9031-69b7adc62ad9} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x299091b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:30:47.908652 [ 51338 ] {8baad6ad-5b4c-42ab-abcc-5822878b9671} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params2(id UInt64 CODEC(Delta(16))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x299091b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:30:47.909956 [ 51338 ] {8baad6ad-5b4c-42ab-abcc-5822878b9671} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x1a5b73b3 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x299091b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 2024.03.06 02:30:48.422465 [ 51338 ] {a7805e8d-3941-4482-8540-201c9fd19b8d} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42588) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE compression_codec_multiple_more_types ( id Decimal128(13) CODEC(ZSTD, LZ4, ZSTD, ZSTD, Delta(2), Delta(4), Delta(1), LZ4HC), data FixedString(12) CODEC(ZSTD, ZSTD, Delta, Delta, Delta, NONE, NONE, NONE, LZ4HC), ddd Nested (age UInt8, Name String) CODEC(LZ4, LZ4HC, NONE, NONE, NONE, ZSTD, Delta(8)) ) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x29909489 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x29909239 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 02:30:48.424096 [ 51338 ] {a7805e8d-3941-4482-8540-201c9fd19b8d} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x29909489 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x29909239 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e68 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908e25 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x29908de5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x29908d8d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:623: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x2abc834d in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:680: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x2abc8b48 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1202: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x2abcfee4 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x2abd7896 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 2024.03.06 02:30:51.507129 [ 51338 ] {4e73691b-6116-47de-9d64-ea0901abb76b} executeQuery: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42600) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(gbdgkjsdh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88ec65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:51.508318 [ 51338 ] {4e73691b-6116-47de-9d64-ea0901abb76b} TCPHandler: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x19e78a93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f17 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88ec65 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:180: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 29. ? @ 0x7f624fd9f609 in ? 30. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:30:51.623572 [ 51338 ] {96c543e6-8e20-4072-b613-095657185471} executeQuery: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:42600) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(ZSTD(100));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x299051ec in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x29903866 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2990351d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x299034dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2990349d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x29903465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88ec65 in /usr/bin/clickhouse 2024.03.06 02:30:51.625206 [ 51338 ] {96c543e6-8e20-4072-b613-095657185471} TCPHandler: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x299051ec in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x29903866 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x2990351d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x299034dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x2990349d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x29903465 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x298fe5de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x298fe59d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f4f05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4ec8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e85 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x298f4e45 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x298f4df0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x298fa8e9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x298f6665 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x298f3f70 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x2ac747fa in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac7471d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x2ac746dd in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x2ac7469d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x2ac74668 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x29b206fe in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x29b1eadd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x29b1c556 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x29b1c6dc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool) const @ 0x2ac7325e in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1083: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x2b88ec65 in /usr/bin/clickhouse 2024.03.06 02:31:24.356818 [ 51338 ] {7d189885-271e-43ec-9a8e-43bbd4321826} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.407649 [ 51338 ] {55175653-c085-4eff-baa7-8670fbd993d2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.495335 [ 51338 ] {aed40c90-59b7-4ab3-bc4c-3605f607346e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.576862 [ 51338 ] {dc258c7d-d7d1-4a57-8b59-dd634bde847b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.699644 [ 51338 ] {24569234-ddb0-4e2c-8f9f-953726797200} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.787095 [ 51338 ] {94538fc6-6dc4-446d-bcdc-f682bbbddbdc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.830930 [ 51338 ] {26d6f658-5347-462d-9dca-89ad8c86eff6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:24.920693 [ 51338 ] {b4dc04fb-e119-46c0-812f-a16f4a164693} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.004622 [ 51338 ] {12bf78ff-cf1d-4833-852a-a9cf68d1ad08} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.096017 [ 51338 ] {3f6c5b98-da45-4936-b38c-1873722ff197} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.183128 [ 51338 ] {e9b1ddc9-95c4-4d31-aae5-c0211cd1f9ab} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.228518 [ 51338 ] {94740c61-779c-4ada-bca1-7f2f52167d51} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.326976 [ 51338 ] {44f5ac1a-e3a5-414f-a9b8-6fc33c1ce553} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.411106 [ 51338 ] {c56cba2e-e0f1-4a47-b3e8-5603d29808b3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.514435 [ 51338 ] {87346118-5871-4869-a211-0608f97be40b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.609095 [ 51338 ] {40a326bf-5fb4-4ee2-abe5-06bb2a46281b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.701081 [ 51338 ] {2a8ad1e0-7177-4ebe-8f60-f8a6a0e999b8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.796705 [ 51338 ] {18112b15-21d4-4cf5-8df6-38870099c77a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.846710 [ 51338 ] {dd288314-263e-429e-83fe-403916f0047e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:25.934035 [ 51338 ] {f98fe83d-a8ec-4669-95c6-22bf2526a38f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.028005 [ 51338 ] {03c05240-2ba3-4f61-b5ea-3a4d06a243a5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.155199 [ 51338 ] {3417bddf-d5f3-4cb1-b710-25ac036c5cc3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.236712 [ 51338 ] {f50a8ffc-0888-41de-88c4-ec3e37c5e4b6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.280739 [ 51338 ] {93df5473-40f5-422e-a25d-e5a502066903} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.370411 [ 51338 ] {cf95ab09-e0e6-4e81-8b56-4eb41efd392d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.456503 [ 51338 ] {72bc8dd5-40b7-4e9f-9258-b8328dcca616} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.587558 [ 51338 ] {247ed034-eb70-4fbd-ae85-f6fc4b4484c0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.675190 [ 51338 ] {701967d6-1ca4-4e56-856c-b2861fec015d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.763678 [ 51338 ] {1b191e19-058b-432a-b1ee-6572b149a09d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.863529 [ 51338 ] {52ce0a75-13fb-4eb5-b29a-3b12e84f6252} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:26.969415 [ 51338 ] {48bf34c7-6c3a-4c91-9d41-7ce76451a57a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.084509 [ 51338 ] {3713e5b7-41b0-4a4c-8773-bc91a7e84fb5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.217879 [ 51338 ] {5ddeb453-d4b0-4837-900a-eefd7502b6e8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.301687 [ 51338 ] {fa9a0b7b-debe-4577-8f47-6f4001e621cc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.386440 [ 51338 ] {dcfa951a-b308-4ab1-86b3-5a02e97279b9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.516874 [ 51338 ] {4e6c482d-59fd-4e2f-a066-b09ef887c426} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.605320 [ 51338 ] {35de5e70-58da-4120-8033-eae43f8f150c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.734126 [ 51338 ] {ac589c65-1d1f-44b6-b4e1-c241e15cb37b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.815242 [ 51338 ] {d0d9f787-6480-4381-b5cb-26e661126bc2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:27.908219 [ 51338 ] {d752dc5a-0654-4942-879c-2e84999a8eb6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.004500 [ 51338 ] {d6ade230-91b0-4144-a98d-61852c07dc4a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.098031 [ 51338 ] {0c48348c-1c92-40ea-bb2e-bd49d917e314} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.190657 [ 51338 ] {20ab5129-b288-4745-b560-9241530d1c18} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.285687 [ 51338 ] {78d447a6-c1fd-4f78-974b-2447a3c7bfd7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.329188 [ 51338 ] {e8673c60-ea75-40cf-92dc-1b679779f0e2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.413680 [ 51338 ] {29bb0662-64e2-43e5-9da3-263cdff198c0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.498019 [ 51338 ] {d8e33cec-f6ae-494e-91d0-f9680a153a71} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.591414 [ 51338 ] {a063c49a-a5a3-4c66-8142-062fd8050115} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.683218 [ 51338 ] {9fdc139b-06c0-45f6-92a4-a6abb2851b82} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.728714 [ 51338 ] {9a21acc6-7c49-4edb-8cff-8ccd27835713} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.813165 [ 51338 ] {167d629a-ffd1-4cde-848c-4b429c6df1f2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:28.905182 [ 51338 ] {d57756ef-98ef-420b-a989-89b6bcc93087} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.005490 [ 51338 ] {3b27d4d1-8871-4668-957e-926b4cecaa66} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.139932 [ 51338 ] {fccf3ad8-33b8-47b0-b019-30c9aca47b71} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.224819 [ 51338 ] {d115941c-279c-46ce-9acc-2597f6333ca2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.275897 [ 51338 ] {b6275e06-2141-47bb-aaa6-19cb0d5b7926} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.367466 [ 51338 ] {fab87bc8-50e4-4bbd-8907-9105c138091f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.471154 [ 51338 ] {cbc825d5-e81f-4715-bd60-ec983112ec7d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.563515 [ 51338 ] {5b32dff1-5c9c-4cba-9e07-f608d7df51a9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.700556 [ 51338 ] {ff1bf14d-0241-4284-baa3-9411a84194e4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.790118 [ 51338 ] {410d06d1-5394-4fd0-8b5d-cd8a93f183a3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.885135 [ 51338 ] {c6819f33-7ef0-4829-b826-1b15a0178c7a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:29.968103 [ 51338 ] {248d7b80-0f4c-48a1-9016-abff68263530} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.011898 [ 51338 ] {649ed01f-03d4-47e6-aff1-55fa352358e2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.098759 [ 51338 ] {1f575060-68e4-4d4d-9ef3-369416a518db} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.189971 [ 51338 ] {512592fc-8e91-4d4d-b8ed-b72df55733a0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.281029 [ 51338 ] {718ffad9-5ab5-4faa-9cce-8d5b444236a2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.411958 [ 51338 ] {8547d38e-0990-421c-aaea-8b55c0c348c7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.501715 [ 51338 ] {ac5eaadd-4125-4ac2-b286-174497511183} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.591330 [ 51338 ] {c24bec0b-cde6-47d2-b9e3-3cf21859ef77} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.641741 [ 51338 ] {5ff62f40-98c6-4866-a3de-b9a5ecd88735} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.728487 [ 51338 ] {f043cad0-874b-46ee-9588-1e50882f0049} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.824850 [ 51338 ] {68aea308-8619-4d3a-b939-0b4ab60841dc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:30.921932 [ 51338 ] {ab738e3e-fec2-4eaa-84ab-afe262629ff7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.012916 [ 51338 ] {1e513f35-8ea6-453c-b614-c4e35b266a26} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.105386 [ 51338 ] {6654099b-434f-4a9e-a249-35171d7dab76} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.239899 [ 51338 ] {6beac0b9-d52a-495e-99f5-f83926934b18} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.324675 [ 51338 ] {ce4f2caa-1bee-43fd-9862-7a253a0089a1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.373178 [ 51338 ] {0164f741-99a2-4927-bdd1-7c495191b9ed} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.470443 [ 51338 ] {075b04e4-f07b-4695-8bcc-aebc27912106} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.593724 [ 51338 ] {a9d7730e-3375-4317-8fb0-faa4e11d40ba} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.715335 [ 51338 ] {fd08ad27-28ec-4315-82b5-00a71c023246} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:31.808108 [ 51338 ] {3c2fe2bf-3acb-4d65-963d-3b56d832e9c2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.011940 [ 51338 ] {e953099b-2643-4b58-b277-f82371ce77aa} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.145674 [ 51338 ] {b5bf5854-be3a-4f7d-8fbb-d79580a4e0f6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.224040 [ 51338 ] {814e45f0-c0d0-456d-91ae-53b87136e2cc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.344289 [ 51338 ] {50cb3e64-2f37-4914-bbce-66a99aaa79dc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.428122 [ 51338 ] {6ce57ead-204f-4e85-974c-6dcc8963d53e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.550063 [ 51338 ] {88f12c97-b428-4443-9890-902258081f9b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.635735 [ 51338 ] {7fdd7932-93b0-4960-8ce0-cb4d86b81b61} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.725884 [ 51338 ] {f5905ca7-1742-42bc-978d-88b4039047c1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.771748 [ 51338 ] {862f7045-eb55-43c0-b1bc-f45b341259bb} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.862982 [ 51338 ] {9713e773-1a95-47a2-ab0e-5905c1ab1486} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:32.952672 [ 51338 ] {9eadccb7-c4ba-4cf8-a5eb-8097aafdb03f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.035951 [ 51338 ] {834e25dc-883d-423a-9114-24497a44d6d8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.168782 [ 51338 ] {c66aa4d4-477e-4667-af57-d7fb90bd8824} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.251239 [ 51338 ] {bcb617b5-7e44-4fa1-8616-c97c86445358} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.343209 [ 51338 ] {543bff3a-649f-43a3-a3af-3142df2ade65} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.472599 [ 51338 ] {492e131c-7bac-4ed9-9d05-a541a3a170c4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.559214 [ 51338 ] {b5245a26-1456-4e2d-90ad-4dd2680d1ff9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.640709 [ 51338 ] {73cefe5a-e5b2-41b8-a562-3f085e5dd244} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.759645 [ 51338 ] {cede77ef-d710-46ef-b6b1-b5838a953d76} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.836527 [ 51338 ] {a6eead21-8203-4969-9625-b103b0745f40} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.878515 [ 51338 ] {d70e0398-b25e-4055-8f69-4e1e15ab44cf} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:33.959955 [ 51338 ] {de4e2df6-3cbb-4716-8d9c-54c8ac2a6d1e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.090660 [ 51338 ] {a4619989-d6ed-4c3a-87f1-e6397bd18d2a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.181640 [ 51338 ] {4841e57f-6e0b-41ab-a4d5-d0fdafafe04c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.266453 [ 51338 ] {98bd76f7-244d-4554-975b-a369426e37c0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.394520 [ 51338 ] {08ead569-5b5c-4c5c-9712-dc199883bad0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.477353 [ 51338 ] {b53c0a14-1448-4b4d-889b-f1435c2ece9b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.566812 [ 51338 ] {d679cf2c-5d04-4b4f-8f62-260f764043b4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.658052 [ 51338 ] {84f4a2ef-7378-451b-9100-b0a5e3182262} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.788227 [ 51338 ] {c25ee76a-1bde-4e19-8cce-0234df6a7f08} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.880751 [ 51338 ] {31f9767c-65ea-416f-b3b0-ef2adc30be2f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:34.971444 [ 51338 ] {c512f521-e0ae-4fe5-aacc-cbe7012a9cc2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.017409 [ 51338 ] {bdbe9a7f-d237-47fa-95af-25ce546aa099} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.098171 [ 51338 ] {a02e1e10-1774-475c-8788-a3ed95a67d34} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.179700 [ 51338 ] {ba6e813c-496e-44f2-a8f4-337ce1ad7b21} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.310593 [ 51338 ] {026d5570-e47c-4ef9-bc24-c00af345c766} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.395977 [ 51338 ] {300934d6-dd39-4391-a7c8-9da2a1520c6d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.479455 [ 51338 ] {2b096c8a-3aaf-4f0a-8107-9c7703094739} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.578214 [ 51338 ] {a791cd0a-e087-4377-9df2-4bcf456f2fd8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.675622 [ 51338 ] {00426246-d151-45f5-b611-8a38386e6680} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.766595 [ 51338 ] {06ed3716-5b25-4a9e-a262-ccd243c1540c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.898386 [ 51338 ] {ece0e56e-ca10-4e90-95e5-be5e36473716} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:35.995075 [ 51338 ] {c862dc5f-4b5f-48b1-ae44-4aa89f23bb91} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.088111 [ 51338 ] {afdde283-6287-4b79-a862-6942a804db2e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.173730 [ 51338 ] {ea65dbc7-321b-4aff-8554-fa498c2e3389} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.213607 [ 51338 ] {793ffee7-c43e-40f6-9954-bcebe60dd354} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.290639 [ 51338 ] {dbc39eda-ad4b-4a75-8829-404fd0b1631b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.406840 [ 51338 ] {28afac7e-f6df-4bdb-b7cd-01c5425f5bb5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.485484 [ 51338 ] {6647b364-d788-4edb-83ad-84fb32802333} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.526342 [ 51338 ] {26d70ca5-ba69-4925-91e9-11d121be5fd0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.603117 [ 51338 ] {4f406741-2abc-4d7c-bc27-793585a606a6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.644762 [ 51338 ] {754ce948-cbaa-4801-93b1-b407b15e13b7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.726774 [ 51338 ] {5ac1030d-b050-417c-9767-4fe859c8b35a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.823512 [ 51338 ] {cf4067f0-240e-4eb7-a2e9-a3c7ed373448} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:36.913826 [ 51338 ] {b1ce62ff-69f4-4562-9528-374e92541530} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.040240 [ 51338 ] {e94b1ee9-9fc7-4d1d-901a-33646b3e4856} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.181307 [ 51338 ] {933df440-130e-4f8c-a079-4c8c6b44361d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.321114 [ 51338 ] {14bfdfea-aba7-4fbd-a367-a061cb3c4ed5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.400727 [ 51338 ] {2e7f6402-973a-466b-ab3c-c12b3c071fcd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.442680 [ 51338 ] {e4996454-e7a4-4b43-aa1b-cc9f7f861007} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.527816 [ 51338 ] {457087ca-102f-457b-bbda-180993728c08} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.652629 [ 51338 ] {846e0a91-507d-4419-911a-9aa8c10f9820} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.738044 [ 51338 ] {fd49813c-659a-4356-8a0c-84ac17e41551} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.874400 [ 51338 ] {1c825c25-b9fc-46ff-a900-8159dfad4439} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:37.958063 [ 51338 ] {eda4b091-068b-4ee0-b716-dfaf7f95cb9b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.039328 [ 51338 ] {167f91c3-dd28-4afc-8c3f-547897553621} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.127111 [ 51338 ] {ea942936-8f94-4981-b7c2-f627ceb06a96} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.169418 [ 51338 ] {e2d8bf76-f759-4c41-8165-d3eb8fddfe56} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.256732 [ 51338 ] {5af82e1a-3bac-446b-b655-754775c471b8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.339612 [ 51338 ] {95161d5a-87a9-4940-8d53-802006320fa2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.424852 [ 51338 ] {9dcf3683-1013-4470-bac7-7170b0348303} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.465575 [ 51338 ] {4badbce8-1d5a-4616-976d-724214776e20} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.551070 [ 51338 ] {b8526f05-0b4d-4402-b992-53db5d2e6aae} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.638585 [ 51338 ] {e7396772-b240-4705-b831-7499589fc465} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.731842 [ 51338 ] {955dc6e5-8174-4afa-915d-5980faffc27c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.817416 [ 51338 ] {017d78ea-3fc0-4c5c-98ae-d5e105132cd7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.858750 [ 51338 ] {f1c7d99a-d57f-45ac-b62a-e25b016f9285} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:38.947562 [ 51338 ] {0fceab08-0850-41a4-881e-eb7851f9df89} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.032756 [ 51338 ] {241d9406-a67c-42f9-b514-6fc35b3be6d8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.123118 [ 51338 ] {e7f4a53d-1757-46af-a682-8073b7870fd6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.239203 [ 51338 ] {e62f63d5-977f-4ee2-9377-efdbc14880f1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.315434 [ 51338 ] {099c0510-fa4f-41d6-a5d8-7c9383387807} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.441670 [ 51338 ] {6fbecc72-2198-4552-a1eb-e14e04fd0b04} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.526947 [ 51338 ] {190dfbd8-bf05-4756-b12a-9e0c6f753c5d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.569708 [ 51338 ] {59177346-6c21-432c-b27f-3ec457d09c9a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.685581 [ 51338 ] {21ebc90d-2785-4bf3-9288-e3d5d22f64f0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.763098 [ 51338 ] {5fe39d04-c9d3-4e69-98c2-0bc3c8b6293d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.879519 [ 51338 ] {512a6921-0685-48dd-b39d-e5e8e5510336} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:39.997284 [ 51338 ] {d9302241-e3ef-4489-9709-37bc2cdde85d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.094257 [ 51338 ] {99078172-baa4-48b0-870b-f2eadba24c1c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.195399 [ 51338 ] {45d1dfb8-0036-4c87-80e5-6c4b72bfb897} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.316370 [ 51338 ] {1dcaa544-f9e3-4e64-b4be-b281cfbd61d6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.408180 [ 51338 ] {93f0fc41-3ea5-4d1d-8ad8-40fbb0965b7c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.502082 [ 51338 ] {51fd0b92-9c5f-4e79-a3e0-37b1103d1459} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.588980 [ 51338 ] {c5b54dcb-cb1f-41b9-b408-3af08a8198cd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.634540 [ 51338 ] {1131d717-15c4-44da-bd0e-afccb6ab2dbd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.726305 [ 51338 ] {f3c082d5-dbd4-4886-a2fd-809e056b130e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.804804 [ 51338 ] {94fb7a76-c27f-46df-8dc3-834cffd99c17} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.916430 [ 51338 ] {73bee48e-74a2-4646-a330-4af2ebb1457b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:40.996642 [ 51338 ] {d62c5877-6692-415c-8717-5047e1309c5a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.042387 [ 51338 ] {d4f46ce5-0ccf-4337-8a54-2e2b2f2487a6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.133973 [ 51338 ] {9cb19cfc-f75b-45e1-8907-e7b043044afc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.213970 [ 51338 ] {e1ffedb6-3c8b-4c04-a1f1-b5faf6a17917} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.298807 [ 51338 ] {42599ad2-7491-4284-9b99-94f1ed323312} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.342645 [ 51338 ] {832ebf3c-0bff-477a-a830-03c46f0d82e3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.424470 [ 51338 ] {6100f319-6555-4aed-bbd2-79733855154a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.511836 [ 51338 ] {8100510d-abfd-49c4-9b5d-acf136654a94} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.599304 [ 51338 ] {ea531aae-0d47-4279-82df-6da2ee7cf6dd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.697376 [ 51338 ] {3d6a5f8e-900f-4704-a7b3-02beef52cbd2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.740881 [ 51338 ] {f97acf16-12e9-40cd-ba74-9fc6d77dc1e0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.821479 [ 51338 ] {6f74f24c-2a22-4cb5-8a74-8a18d4509ac7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:41.912023 [ 51338 ] {0e093519-98bd-4f38-94d5-c76a3523f90c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.001790 [ 51338 ] {afabcfdd-5716-459f-9eba-e84f0b817958} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.082453 [ 51338 ] {ca7faead-b3f3-4623-a532-605458e6bf83} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.176841 [ 51338 ] {86cdfcb5-52d7-4c31-a557-e3bb89eb8000} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.228912 [ 51338 ] {cea3e3a2-f5e4-4b42-af27-0bdabf43ce98} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.317039 [ 51338 ] {b3fba46f-06c0-434c-8960-2b683b417c10} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.398850 [ 51338 ] {c269a9a6-9fb2-456c-8750-5a2c0678c783} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.479804 [ 51338 ] {9b0825c2-dc34-49f6-8f02-5760ef2bd6e5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.524523 [ 51338 ] {9ea7b5fc-d136-4b10-aacd-928e6d9be560} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.627447 [ 51338 ] {b03f0d3a-33ad-4122-8e42-d58068f0bb0e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.716416 [ 51338 ] {b4e03d4e-a801-461f-a928-f0bfcf98fcdc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.759526 [ 51338 ] {88b2e4af-5d1e-4581-a0b4-bdf5897077a0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.846453 [ 51338 ] {a8736528-7efe-4e37-a229-7392195a3c5b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.922664 [ 51338 ] {c0cab07d-9cf8-43e8-aae0-41c3a530301e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:42.963391 [ 51338 ] {ef4a97d5-b319-44e1-9559-4a3aad5fbcca} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.037377 [ 51338 ] {f88e50cd-8797-46fa-bcd2-3cf682344df8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.159589 [ 51338 ] {0a6fbf3a-2465-4047-8720-e7fbdcf49061} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.235502 [ 51338 ] {fba98993-392a-478b-a309-2b9f308d904f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.275063 [ 51338 ] {0de53286-eda1-4339-918c-2abc566a6997} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.362017 [ 51338 ] {00239fca-6bb0-4a80-b8fc-b807ad349587} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.445487 [ 51338 ] {ae80f25d-eb5e-4078-96e4-4c18a489c628} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.525378 [ 51338 ] {59d4e5b6-82c8-43d8-aeb3-43eab572bc94} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.569858 [ 51338 ] {e6adfd43-d683-4c91-a608-d6897647bb50} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.654170 [ 51338 ] {6e885a24-8f4e-4824-9c8d-c60492be9ea5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.736331 [ 51338 ] {a1b02ea7-bd0c-4947-adc3-880066475602} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.778956 [ 51338 ] {23d78859-2f28-47cf-aacd-9f8e0a16d92d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.854345 [ 51338 ] {3e2737e7-50a0-4245-b20e-a6961fa85174} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:43.930585 [ 51338 ] {a21a2b43-5d65-46c4-acac-e220a1271e14} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.019804 [ 51338 ] {9135c79e-aa22-457c-a02a-50df0cf253f9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.149242 [ 51338 ] {b210099f-d651-4709-aae2-31131a8a2c2f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.227637 [ 51338 ] {d9cb1b0c-66db-402d-a402-374114d1f6a2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.353803 [ 51338 ] {59616e7f-2278-4803-88bd-88958508a02e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.440724 [ 51338 ] {54087c38-48e9-44f2-b91f-68433a12bff6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.555889 [ 51338 ] {4531e68e-ce3e-4254-8046-bb65eafc2ddc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.636057 [ 51338 ] {eab6ffa7-0389-4183-af3f-eb10c296ccc1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.718803 [ 51338 ] {fe9e3f61-1a34-429a-a937-10c10af2e57d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.808542 [ 51338 ] {f8d2e6d9-beb4-4f3e-8912-32dbf288d4cb} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:44.895914 [ 51338 ] {a54a071c-e0a0-4e77-a4fe-4c9aed6049a9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.123311 [ 51338 ] {c22b3de5-3104-4ea7-acab-e838eda30ce3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.214542 [ 51338 ] {af94b7ab-3316-4f35-9732-f6f78238544b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.304635 [ 51338 ] {eb8dd25a-2ff5-4f68-a155-a12b5c6221c0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.396232 [ 51338 ] {7453ef75-1ffc-4415-a222-07bd1aea0726} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.488104 [ 51338 ] {2fc42e54-79e4-4b91-9071-8694ed63631b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.630191 [ 51338 ] {a8db40e2-a96d-4954-9163-f0e6619c1f6a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.712652 [ 51338 ] {8b119993-3890-4e92-ad1f-93e901172b4a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.791446 [ 51338 ] {3855b06f-410c-43ef-872f-eb04ad8adc2c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.907940 [ 51338 ] {fe1713bd-ab0c-4870-be69-fb8624039751} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:45.948991 [ 51338 ] {7af00785-3647-4875-b52b-e67a2717bd87} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.042721 [ 51338 ] {4a23344b-8c0f-430e-81d5-de27db50eb01} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.214771 [ 51338 ] {3d4bbe89-76a3-4fd1-b3bf-b5cb1fa2811b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.311984 [ 51338 ] {9f24c1a4-5669-42f8-a6e0-46474ad08f3f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.388890 [ 51338 ] {c2629ede-aa42-49d0-8e21-5ae5f2bea793} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.504905 [ 51338 ] {9d05ddad-407f-4994-b925-716e08fe5479} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.583004 [ 51338 ] {7f6f5de6-940b-42d0-ab17-6285d55aa0d9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.697171 [ 51338 ] {9e4695e5-304e-412b-a3fe-dc0e70fa878f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.772468 [ 51338 ] {3e2ea2ab-b5cc-49dd-a379-467322a9a930} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.889317 [ 51338 ] {464a2837-07b3-4ef8-9b56-30df964a9dec} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:46.965399 [ 51338 ] {d728191e-7130-48cc-9ebd-10c97a8c6014} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.095240 [ 51338 ] {231397d7-bf79-4774-8b19-3645d6fa9dcd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.173684 [ 51338 ] {d5b58308-11a9-40c7-be35-24146f18b73e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.265115 [ 51338 ] {88196ec7-0491-4a05-8d09-95caeb34b413} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.382374 [ 51338 ] {9d1a677a-dbc1-4b89-a5d9-c0d02f9858bc} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.461530 [ 51338 ] {e80ef268-44df-4aa9-8a30-910502be785d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.542235 [ 51338 ] {ce5402e5-2a2b-4248-8bdf-80b78fd785a1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.622224 [ 51338 ] {d67ec2b0-5bca-432f-b4d6-999a62530fe9} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.669640 [ 51338 ] {3c7c5fee-23fa-4793-9148-843dc44ffd01} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.764864 [ 51338 ] {920d71e6-0e53-40c3-aceb-831e0ed19401} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.840471 [ 51338 ] {87807e97-bf14-47d0-bc79-41097d3c55e6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.881484 [ 51338 ] {4809b3cd-c095-412f-a73c-149fb006f1ad} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:47.956427 [ 51338 ] {89758b34-fdfd-4819-b3f1-9e18b92c72b1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.071130 [ 51338 ] {dfecc8a7-4a13-4cba-9b5f-055d83e43d50} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.147201 [ 51338 ] {70e256e4-3729-4106-97de-a7c56decbe70} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.268230 [ 51338 ] {c9c129ab-47ea-42a4-ba3e-aa8331ad419b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.315032 [ 51338 ] {4ee5099a-d9d7-40f4-9657-b0205c426c73} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.396917 [ 51338 ] {52afd540-3a33-4729-bac9-ae6ec9d6d4d7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.474084 [ 51338 ] {71acc485-48c1-4354-a4a8-3dc9731cf151} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.514813 [ 51338 ] {75dc0cc9-1d25-4a82-8b6a-6104eb85cf37} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.592663 [ 51338 ] {972e051c-ffd6-48e1-a2a6-14e870bd9ac1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.674079 [ 51338 ] {a489c1f8-1543-47b7-9497-a63c578563ae} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.715107 [ 51338 ] {b7379b65-8820-4448-8365-775d68797e35} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.793239 [ 51338 ] {061706e3-6bf8-492c-b93d-6ca017de333d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.913102 [ 51338 ] {7d913f74-e9e4-460d-8cab-afd4dfe14f7c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:48.990910 [ 51338 ] {14fee12a-7df8-4abf-a84d-f36e06d6b543} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.078712 [ 51338 ] {dfccdf43-a2c2-4c66-a3a0-cf570c716304} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.208629 [ 51338 ] {8db9e15e-6a51-4c39-b8d8-05a742dc7912} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.288357 [ 51338 ] {d7c06118-9e87-4a8e-809d-d3543e515423} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.328441 [ 51338 ] {2942ba9a-ba18-45f3-9f2f-e3853b37fb3d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.404872 [ 51338 ] {8c63da5c-7e1a-46dc-90e5-8d4af724be8d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.478327 [ 51338 ] {5be78752-ec3b-4676-a412-df4e433e464b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.596637 [ 51338 ] {b9d1dd2e-d56a-430a-85da-0c50fa53ab67} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.676477 [ 51338 ] {d90b4bb5-56b1-4592-add7-703be02f3daf} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.755996 [ 51338 ] {1eed6f7b-2bc5-447b-97f2-cb431f599d99} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.876250 [ 51338 ] {5b488c5e-3351-47cd-9f9a-eba7e1519851} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:49.954459 [ 51338 ] {87da5461-f477-4c20-a63f-12dc4a4d385f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.032920 [ 51338 ] {374eab6e-eb14-41f8-ac72-77cb17c67ab2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.083694 [ 51338 ] {8fbece1d-b6af-4372-8931-4048f07d7f64} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.156134 [ 51338 ] {d295a75f-6384-4667-8fa4-1cac2da7bd9c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.273715 [ 51338 ] {19907f84-d02e-4812-91ba-58c9f2882da7} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.348950 [ 51338 ] {facb1b47-80f1-4ac2-b049-0202919cc4b4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.433309 [ 51338 ] {b2b288c5-d076-4ea8-8be1-fd66a1595ab3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.522811 [ 51338 ] {4cd342e0-3677-4d6f-a487-9b6aa1ae0fbf} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.562191 [ 51338 ] {ce312082-6eb7-4de5-8760-683a83547065} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.635452 [ 51338 ] {f1b6407c-b42b-4c69-8d66-198e6c9bbbf4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.674562 [ 51338 ] {99a77f61-15a4-4c65-b0d4-ac07ed412ae0} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.751737 [ 51338 ] {41ea3ce7-092b-4f37-b64f-ef827a82684d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.828367 [ 51338 ] {ecad8558-55cc-408c-971e-616251e6236e} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.873061 [ 51338 ] {3568e0c3-631f-487e-8733-603671712a3d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:50.947384 [ 51338 ] {60d33afa-b65c-4217-af79-935eec0583b3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.029568 [ 51338 ] {e9f549dd-a119-403c-8006-9800a258802d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.161443 [ 51338 ] {7b0abc2a-ee3d-432d-9f66-51b37f2063f3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.252067 [ 51338 ] {28a4b1f7-3166-48a9-bd9b-78e5bcb5d304} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.338114 [ 51338 ] {83e6ce43-83d5-46f1-afaf-009bc084fcdd} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.457777 [ 51338 ] {6032e7ee-8ba3-4d9d-99d9-8f27658b55e4} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.534299 [ 51338 ] {449cdd23-d02d-4e7b-8470-6a655a249ee5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.624334 [ 51338 ] {a1af5600-d5df-4374-9c60-dc12ae318cad} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.714034 [ 51338 ] {0e876794-52fd-4557-b968-e135437ee329} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.753666 [ 51338 ] {cf72e225-bb41-4f75-9447-253a847f2ad2} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.838784 [ 51338 ] {23e4425f-7b77-46ff-a196-25b6da15c523} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:51.947362 [ 51338 ] {7cf5a81e-55bc-45aa-9908-918fab2247f6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.034476 [ 51338 ] {55702241-cf98-4981-ac8a-e740df4d276f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.117339 [ 51338 ] {47365dbd-0d50-4038-a2e2-7c0df57cfc24} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.193972 [ 51338 ] {bad038bb-2673-472c-a500-371b0d91ef0a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.232167 [ 51338 ] {031a95c9-23b2-494a-99c4-16560de2503b} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.310979 [ 51338 ] {c63a424d-793d-4126-a959-d4f351b5708d} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.430401 [ 51338 ] {ece757ef-7b83-48e1-8e42-ff8db7c5782a} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.502285 [ 51338 ] {fda26676-3f7e-4b71-82d2-ac1bf586e926} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.580146 [ 51338 ] {10c9a4f4-0dff-486f-a568-b74f84e332de} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.707221 [ 51338 ] {cd9e815d-15b0-451f-9024-5ea1289368d1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.801207 [ 51338 ] {28601953-19fd-4481-ba0e-65e923d4e6ac} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.877743 [ 51338 ] {2558de79-4dc0-40a9-85b7-ac0bf8eec9f6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.915320 [ 51338 ] {c23e86cc-3a28-4fa8-9b83-03d40724e4d5} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:52.986649 [ 51338 ] {10737ddb-a476-428a-8232-9f73cfece128} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.120710 [ 51338 ] {2dbc644c-7547-4f65-a0e3-a1564b970db8} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.165972 [ 51338 ] {ae2ee114-afd4-4ff3-86ea-c417f247bf7c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.249925 [ 51338 ] {2e5f840d-1265-4632-8a1b-dfcd39118c99} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.334483 [ 51338 ] {2120522f-1322-4738-bf0c-2140a7e75bef} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.424383 [ 51338 ] {b20672fb-3988-49f1-8c19-fc7f076e6640} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.464843 [ 51338 ] {1a3c49c4-3bfb-43a9-a2ba-87c2afe410e1} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.539433 [ 51338 ] {8b2f4d68-3aa0-4a6c-9287-937e08a6adca} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.612827 [ 51338 ] {f66b1da0-ff65-40b1-8c2a-bec6ebcef7ba} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.652823 [ 51338 ] {3ce2540d-8877-4a49-9eae-eb01f9eed477} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.735975 [ 51338 ] {7cc759c5-8a31-488e-9a08-a723cccce82f} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.841928 [ 51338 ] {0359b629-b6b9-4b6e-b141-6ff60c460262} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:53.980948 [ 51338 ] {0599fffa-8211-43fe-b1db-9ca6a466e3a6} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.063149 [ 51338 ] {5d1b5305-d1bf-46ac-aebb-8f478f63bc86} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.131208 [ 51338 ] {e08c4b31-d4da-4808-86de-e97411588406} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.248024 [ 51338 ] {156297e3-4a65-4c94-a85e-bf8b9ca6f629} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.335223 [ 51338 ] {b278e782-7a56-49e6-8625-e78c5d813326} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.423944 [ 51338 ] {1600b7d3-91f9-4321-8f35-d406590d2528} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.506551 [ 51338 ] {cb727554-f539-4182-a936-2e15291ee7ea} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.628187 [ 51338 ] {136d5315-a1a5-4dc3-9581-6ebdba9cc74c} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.701995 [ 51338 ] {3f6e374c-05c8-4792-ace2-d19024fa66a3} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.817574 [ 51338 ] {fc519627-45cb-4039-9045-a620b2e4fd34} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:31:54.896997 [ 51338 ] {a5598d77-7e0f-42c5-8a51-5cf5ea36ca37} StorageBuffer (test_nw2fpri9.buffer_00763_1): Destination table test_nw2fpri9.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.03.06 02:38:13.993549 [ 50447 ] {171b8e4e-3d40-45ba-9ab5-76c088ac8aa2} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), s, m, x, d', required columns: 'nonexistent' 's' 'm' 'x' 'd', maybe you meant: 's', 'm', 'x' or 'd'. (UNKNOWN_IDENTIFIER) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56690) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE nonexistent = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:962: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2afa4011 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2afa250c in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:38:13.996065 [ 50447 ] {171b8e4e-3d40-45ba-9ab5-76c088ac8aa2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), s, m, x, d', required columns: 'nonexistent' 's' 'm' 'x' 'd', maybe you meant: 's', 'm', 'x' or 'd'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1135: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x2b2b6119 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1364: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x2b2bc1b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:962: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x2afa4011 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:908: DB::MutationsInterpreter::prepare(bool) @ 0x2afa250c in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9e100 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:377: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr const&, DB::MutationCommands, std::shared_ptr, bool, bool, bool) @ 0x2af9db49 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb2995 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 23. ? @ 0x7f624fd9f609 in ? 24. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:38:15.424832 [ 50447 ] {c5d3302a-1061-4be3-bbb5-f37f2467cb18} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:56696) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE d = '11'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1dffae5e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x222807b5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x22280431 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19ae8ff7 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8ce6 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8c9d in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b3330e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b331f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:487: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b049f in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:923: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x1c51cece in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1320: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c505684 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cce7c22 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2cf59c45 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x2afacead in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1215: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x2afa4f3c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1266: DB::MutationsInterpreter::validate() @ 0x2afa6a1a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 02:38:15.426870 [ 50447 ] {c5d3302a-1061-4be3-bbb5-f37f2467cb18} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [38]) @ 0x1dffae5e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1056: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x222807b5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1080: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x22280431 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:729: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x19ae8ff7 in /usr/bin/clickhouse 9. /build/src/Common/DateLUT.h:22: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8ce6 in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:784: DB::readDateText(StrongTypedef&, DB::ReadBuffer&) @ 0x19ae8c9d in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b3330e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x29b331f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:487: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3b049f in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x2b3ad0bd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:923: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x1c51cece in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1320: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1c505684 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:414: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x19741d99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x1973fe8d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:247: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29124c26 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:304: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29125d1e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:376: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x29126c15 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:537: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x29dc2168 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:654: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x29dc1b68 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x2cce7c22 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x2cf59c45 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x2afacead in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1215: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x2afa4f3c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1266: DB::MutationsInterpreter::validate() @ 0x2afa6a1a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:149: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x2abb29a6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:61: DB::InterpreterAlterQuery::execute() @ 0x2abb0d48 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 2024.03.06 02:39:05.947452 [ 51338 ] {0969c3d6-37d9-45ae-9911-ad54c1707110} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 218.00 B) in table 'test_p32ok3b2.`.inner_id.67160e9b-cf97-45c5-a415-c4add92f2726` (68ca22f8-bf77-4162-b150-1f220668adf5)'. Merges are processing significantly slower than inserts: while pushing to view test_p32ok3b2.b (67160e9b-cf97-45c5-a415-c4add92f2726). (TOO_MANY_PARTS) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:38224) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1154: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x2c5b2571 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:39:05.951520 [ 51338 ] {0969c3d6-37d9-45ae-9911-ad54c1707110} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 218.00 B) in table 'test_p32ok3b2.`.inner_id.67160e9b-cf97-45c5-a415-c4add92f2726` (68ca22f8-bf77-4162-b150-1f220668adf5)'. Merges are processing significantly slower than inserts: while pushing to view test_p32ok3b2.b (67160e9b-cf97-45c5-a415-c4add92f2726). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x2c1ce2e8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4246: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&) const @ 0x2c18380f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1154: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x2c5b2571 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x2cce50f9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50d5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x2cce50b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x2cce5095 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x2cce505d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x2223ead6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x2223df15 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:115: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x2cce4ba9 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:137: DB::ExceptionKeepingTransform::work() @ 0x2cce4595 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2c8d84e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x2c8d8220 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:246: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x2c8b7ee1 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:142: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x2c8b7a4e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x2c8e7096 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:770: auto DB::TCPHandler::processInsertQuery()::$_1::operator()(DB::PushingPipelineExecutor&) const @ 0x2c83a80a in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:808: DB::TCPHandler::processInsertQuery() @ 0x2c838d1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:437: DB::TCPHandler::runImpl() @ 0x2c830480 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 31. ? @ 0x7f624fd9f609 in ? 2024.03.06 02:41:59.547601 [ 51338 ] {dd456b07-8745-417f-9a77-70253677a546} executeQuery: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:59776) (comment: 00623_truncate_table_throw_exception.sh) (in query: TRUNCATE TABLE test_truncate.test_view;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:430: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x28db26cc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77ad7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:41:59.549689 [ 51338 ] {dd456b07-8745-417f-9a77-70253677a546} TCPHandler: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:430: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x28db26cc in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x2ac77ad7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x2ac75f14 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x2ac7578e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:713: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d8757 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1160: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x2b3d4424 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:420: DB::TCPHandler::runImpl() @ 0x2c8303cd in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2077: DB::TCPHandler::run() @ 0x2c842a25 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 19. ? @ 0x7f624fd9f609 in ? 20. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:42:42.905162 [ 8842 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b11dab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b11aef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac6fb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:43.024478 [ 8842 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: 'string'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:267: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c7af601 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac5ea in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:43.112600 [ 8842 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Session timeout '3601' is larger than max_session_timeout: 3600. Maximum session timeout could be modified in configuration file. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&) @ 0x2c7bd90c in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:270: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c7af744 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac5ea in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:43.126616 [ 8842 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: '-1'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x19e78613 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:267: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x2c7af601 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:557: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac5ea in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 15. ? @ 0x7f624fd9f609 in ? 16. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:44.574518 [ 8842 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b11dab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b11aef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac6fb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:45.989657 [ 8842 ] {} Access(user directories): from: ::1, user: test_00463: Authentication failed: Code: 192. DB::Exception: There is no user `test_00463` in local directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x1a5f100c in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:642: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x292a6479 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a909d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:469: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x292a8e4f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:342: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x2930e3a9 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:457: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x292a8d9a in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:559: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x2917378c in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 22. ? @ 0x7f624fd9f609 in ? 23. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:45.990653 [ 8842 ] {} DynamicQueryHandler: Code: 516. DB::Exception: test_00463: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x197c1469 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:580: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x29173bd1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:345: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x2b1182e5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:499: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x2c7ab727 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:544: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac4ab in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 17. ? @ 0x7f624fd9f609 in ? 18. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:46.006739 [ 8842 ] {54f128eb-93fe-4b94-a8a1-1898484e5070} executeQuery: Code: 60. DB::Exception: Table test_mhpz1mfh.t doesn't exist. (UNKNOWN_TABLE) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:46010) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT * FROM t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:42:46.007849 [ 8842 ] {54f128eb-93fe-4b94-a8a1-1898484e5070} DynamicQueryHandler: Code: 60. DB::Exception: Table test_mhpz1mfh.t doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:87: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x1973f533 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:355: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x2a003e56 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:791: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x2a007f23 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x2af53896 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:423: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x2ae14796 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:202: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2ae13d26 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x2af075a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x2af04de9 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x2af04265 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x2adc5d74 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:146: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x2adc3a08 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:663: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x2b3d7e46 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1254: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3dd327 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 26. ? @ 0x7f624fd9f609 in ? 27. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:49.061692 [ 8842 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [19]) @ 0x197c5bbe in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:110: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b11dab2 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b11aef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac6fb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:56.264430 [ 51338 ] {} DynamicQueryHandler: Code: 373. DB::Exception: Session is locked by a concurrent client. (SESSION_IS_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [42]) @ 0x19f692de in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:132: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x2b11e874 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:431: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x2b11aef5 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:559: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7ac6fb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 16. ? @ 0x7f624fd9f609 in ? 17. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build)) 2024.03.06 02:42:57.574453 [ 8842 ] {test_mhpz1mfh_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.3.19.33.altinitystable (altinity build)) (from [::1]:54644) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? 2024.03.06 02:42:57.580153 [ 8842 ] {test_mhpz1mfh_9} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x1974c342 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x1974c30d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x31e702a0 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:89: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x221e542e in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:60: DB::Exception::Exception(String&&, int, bool) @ 0x1973f60a in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:73: DB::Exception::Exception(int, char const (&) [20]) @ 0x19e6b3de in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:456: DB::QueryStatus::checkTimeLimit() @ 0x2afca57b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:180: DB::PipelineExecutor::checkTimeLimit() @ 0x2c8b70e0 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:190: DB::PipelineExecutor::finalizeExecution() @ 0x2c8b77bc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:124: DB::PipelineExecutor::execute(unsigned long) @ 0x2c8b7058 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:105: DB::CompletedPipelineExecutor::execute() @ 0x2c8b4802 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1339: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&) @ 0x2b3ddeb1 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:838: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x2c7af056 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1033: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x2c7b1b97 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x2c85151c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x31cac459 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x31cacc9c in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x31eff3b4 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x31efc15a in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x31efae5e in /usr/bin/clickhouse 20. ? @ 0x7f624fd9f609 in ? 21. clone @ 0x7f624fcc4353 in ? (version 23.3.19.33.altinitystable (altinity build))